symtab/Makefile: When system wide locale is set (i.e. en_US.UTF-8) then 'read' is ordered after 'readdir' even if separator is set to quotation mark and key set to 2. When C locale is used result is correct.

This commit is contained in:
Pavel Pisa 2019-08-14 11:02:30 -06:00 committed by Gregory Nutt
parent 2a228e8650
commit 810bf5e87a
2 changed files with 2 additions and 1 deletions

View File

@ -59,6 +59,7 @@
*/
/* NVIC priority levels *************************************************************/
/* Each priority field holds a priority value, 0-31. The lower the value, the greater
* the priority of the corresponding interrupt.
*

View File

@ -81,7 +81,7 @@ $(MKSYMTAB):
symtab.c : $(CSVFILES) $(MKSYMTAB)
$(Q) rm -f tmp.csv $@
$(Q) cat $(CSVFILES) | sort >tmp.csv
$(Q) cat $(CSVFILES) | LC_ALL=C sort >tmp.csv
$(Q) $(MKSYMTAB) tmp.csv $@
$(Q) echo >>$@
$(Q) echo >>$@ 'int g_nsymbols = NSYMBOLS;'