Revision: 56600
          http://sourceforge.net/p/brlcad/code/56600
Author:   vladbogo
Date:     2013-08-05 20:40:05 +0000 (Mon, 05 Aug 2013)
Log Message:
-----------
Force POSIX locale only after the display manager is opened so that the changes 
take effect.

Modified Paths:
--------------
    brlcad/trunk/src/mged/mged.c

Modified: brlcad/trunk/src/mged/mged.c
===================================================================
--- brlcad/trunk/src/mged/mged.c        2013-08-05 20:36:00 UTC (rev 56599)
+++ brlcad/trunk/src/mged/mged.c        2013-08-05 20:40:05 UTC (rev 56600)
@@ -1071,9 +1071,6 @@
     setmode(fileno(stdout), O_BINARY);
     setmode(fileno(stderr), O_BINARY);
 
-    /* mged inputs and outputs assume POSIX/C locale settings */
-    setlocale(LC_ALL, "POSIX");
-
     timeout.tv_sec = 0;
     timeout.tv_usec = 1;
 
@@ -1693,6 +1690,9 @@
 #endif
     }
 
+    /* mged inputs and outputs assume POSIX/C locale settings */
+    setlocale(LC_ALL, "POSIX");
+
     mged_init_flag = 0;        /* all done with initialization */
 
     /**************** M A I N   L O O P *********************/

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to