Added a setlocale() call to xorriso main()

This commit is contained in:
Thomas Schmitt 2008-11-09 10:26:32 +00:00
parent 84135f523a
commit fa6bb24f93
2 changed files with 3 additions and 1 deletions

View File

@ -93,6 +93,7 @@ or
/* for -charset */
#include <iconv.h>
#include <langinfo.h>
#include <locale.h>
/* eventually, this is done in xorriso_private.h : #include <regex.h> */
@ -15852,6 +15853,7 @@ int Xorriso_main(int argc, char **argv)
fprintf(stderr," More is told by option -help\n");
exit(2);
}
setlocale(LC_CTYPE, "");
ret= Xorriso_new(&xorriso,argv[0],0);
if(ret<=0) {
fprintf(stderr,"Creation of XorrisO object failed. (not enough memory ?)\n");

View File

@ -1 +1 @@
#define Xorriso_timestamP "2008.11.07.201909"
#define Xorriso_timestamP "2008.11.09.102554"