Module Name:    src
Committed By:   christos
Date:           Mon Mar 12 18:17:12 UTC 2012

Modified Files:
        src/external/historical/nawk/dist: main.c

Log Message:
don't switch back LC_NUMERIC after parsing the command line, we always want
to format numbers in the C locale.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/historical/nawk/dist/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/historical/nawk/dist/main.c
diff -u src/external/historical/nawk/dist/main.c:1.6 src/external/historical/nawk/dist/main.c:1.7
--- src/external/historical/nawk/dist/main.c:1.6	Fri Sep 16 12:09:46 2011
+++ src/external/historical/nawk/dist/main.c	Mon Mar 12 14:17:12 2012
@@ -211,7 +211,6 @@ int main(int argc, char *argv[])
 	if (!safe)
 		envinit(environ);
 	yyparse();
-	setlocale(LC_NUMERIC, ""); /* back to whatever it is locally */
 	if (fs)
 		*FS = qstring(fs, '\0');
 	   dprintf( ("errorflag=%d\n", errorflag) );

Reply via email to