Browse Source

Added a setlocale() call to xorriso main()

tags/ZeroThreeZero
Thomas Schmitt 12 years ago
parent
commit
fa6bb24f93
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      xorriso/xorriso.c
  2. +1
    -1
      xorriso/xorriso_timestamp.h

+ 2
- 0
xorriso/xorriso.c 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");


+ 1
- 1
xorriso/xorriso_timestamp.h View File

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

Loading…
Cancel
Save