Added a setlocale() call to xorriso main()
This commit is contained in:
parent
84135f523a
commit
fa6bb24f93
@ -93,6 +93,7 @@ or
|
|||||||
/* for -charset */
|
/* for -charset */
|
||||||
#include <iconv.h>
|
#include <iconv.h>
|
||||||
#include <langinfo.h>
|
#include <langinfo.h>
|
||||||
|
#include <locale.h>
|
||||||
|
|
||||||
/* eventually, this is done in xorriso_private.h : #include <regex.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");
|
fprintf(stderr," More is told by option -help\n");
|
||||||
exit(2);
|
exit(2);
|
||||||
}
|
}
|
||||||
|
setlocale(LC_CTYPE, "");
|
||||||
ret= Xorriso_new(&xorriso,argv[0],0);
|
ret= Xorriso_new(&xorriso,argv[0],0);
|
||||||
if(ret<=0) {
|
if(ret<=0) {
|
||||||
fprintf(stderr,"Creation of XorrisO object failed. (not enough memory ?)\n");
|
fprintf(stderr,"Creation of XorrisO object failed. (not enough memory ?)\n");
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2008.11.07.201909"
|
#define Xorriso_timestamP "2008.11.09.102554"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user