From aed7a2cf05b82a3e3fd049c133efea8761b7c0b4 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 22 Feb 2011 14:31:23 +0000 Subject: [PATCH] New -as mkisofs option -max-iso9660-filenames --- xorriso/emulators.c | 6 ++++-- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/xorriso/emulators.c b/xorriso/emulators.c index 6b4cae4c..c3e0493e 100644 --- a/xorriso/emulators.c +++ b/xorriso/emulators.c @@ -620,7 +620,7 @@ int Xorriso_genisofs_ignore(struct XorrisO *xorriso, char *whom, "-allow-leading-dots", "-ldots", "-allow-multidot", "-cache-inodes", "-no-cache-inodes", "-check-oldnames", "-D", "-disable-deep-relocation", - "-L", "-max-iso9660-filenames", "-nobak", + "-L", "-nobak", "-no-bak", "-force-rr", "-relaxed-filenames", "-T", "-no-iso-translate", "" @@ -694,6 +694,7 @@ int Xorriso_genisofs_help(struct XorrisO *xorriso, int flag) " -allow-lowercase Allow lower case characters in addition to the current character set (violates ISO9660)", " -d, -omit-period Omit trailing periods from filenames (violates ISO9660)", " -l, -full-iso9660-filenames Allow full 31 character filenames for ISO9660 names", +" -max-iso9660-filenames Allow 37 character filenames for ISO9660 names (violates ISO9660)", " -N, -omit-version-number Omit version number from ISO9660 filename (violates ISO9660)", " -o FILE, -output FILE Set output file name", " -m GLOBFILE, -exclude GLOBFILE", @@ -1408,7 +1409,8 @@ not_enough_args:; strcmp(argv[i], "-omit-version-number") == 0) { Xorriso_relax_compliance(xorriso, "omit_version", 0); } else if(strcmp(argv[i], "-l") == 0 || - strcmp(argv[i], "-full-iso9660-filenames") == 0) { + strcmp(argv[i], "-full-iso9660-filenames") == 0 || + strcmp(argv[i], "-max-iso9660-filenames") == 0) { Xorriso_relax_compliance(xorriso, "long_names", 0); } else if(strcmp(argv[i], "-d") == 0 || strcmp(argv[i], "-omit-period") == 0) { diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index a9cc86d9..0e3d43df 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2011.02.22.123730" +#define Xorriso_timestamP "2011.02.22.143131"