From: <ai...@us...> - 2009-09-04 23:45:43
|
Revision: 10370 http://plplot.svn.sourceforge.net/plplot/?rev=10370&view=rev Author: airwin Date: 2009-09-04 23:45:36 +0000 (Fri, 04 Sep 2009) Log Message: ----------- For the release comment out all references to locale because this is too untested cross-platform. Modified Paths: -------------- trunk/include/plplotP.h trunk/src/plctrl.c Modified: trunk/include/plplotP.h =================================================================== --- trunk/include/plplotP.h 2009-09-04 23:30:52 UTC (rev 10369) +++ trunk/include/plplotP.h 2009-09-04 23:45:36 UTC (rev 10370) @@ -120,7 +120,7 @@ #include <unistd.h> #endif -#include <locale.h> +/*#include <locale.h> */ /* (AM) Define M_PI if the platform does not include it (MSVC for instance) */ Modified: trunk/src/plctrl.c =================================================================== --- trunk/src/plctrl.c 2009-09-04 23:30:52 UTC (rev 10369) +++ trunk/src/plctrl.c 2009-09-04 23:45:36 UTC (rev 10370) @@ -1207,9 +1207,9 @@ char msgbuf[1024]; FILE *fp; - if(!(setlocale(LC_NUMERIC, "C"))) { + /* if(!(setlocale(LC_NUMERIC, "C"))) { plexit("cmap0_palette_read: LC_NUMERIC locale could not be set for \"C\""); - } + } */ if(strlen(filename) == 0) { fp = plLibOpen(PL_DEFAULT_CMAP0_FILE); if (fp == NULL) { @@ -1382,9 +1382,9 @@ FILE *fp; char msgbuf[1024]; - if(!(setlocale(LC_NUMERIC, "C"))) { + /* if(!(setlocale(LC_NUMERIC, "C"))) { plexit("plspal1: LC_NUMERIC locale could not be set for \"C\""); - } + }*/ rgb = TRUE; err = 0; format_version = 0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |