Add:Core:Issue a warning when LC_ALL is set
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Wed, 20 Feb 2008 17:04:16 +0000 (17:04 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Wed, 20 Feb 2008 17:04:16 +0000 (17:04 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@894 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/src/main.c

index 20e3a7b..697edfe 100644 (file)
@@ -185,6 +185,8 @@ int main(int argc, char **argv)
        textdomain(PACKAGE);
 
        debug_init();
+       if (getenv("LC_ALL")) 
+               dbg(0,"Warning: LC_ALL is set, this might lead to problems\n");
 #ifndef USE_PLUGINS
        extern void builtin_init(void);
        builtin_init();