[CDMAKE]
authorSylvain Petreolle <spetreolle@yahoo.fr>
Sun, 24 Apr 2016 18:59:33 +0000 (18:59 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Sun, 24 Apr 2016 18:59:33 +0000 (18:59 +0000)
Don't check for extension length on Joliet images.
Encountered with AHK binaries.

ONLINE-567

svn path=/trunk/; revision=71201

reactos/sdk/tools/cdmake/cdmake.c

index 68e3498..5f1db6e 100644 (file)
@@ -692,7 +692,8 @@ static void parse_filename_into_dirrecord(const char* filename, PDIR_RECORD d, B
             error_exit("'%s' is not ISO-9660, aborting...", filename);
         s++;
     }
-    if (strlen(s) > MAX_EXTENSION_LENGTH)
+    // Check for extension length
+    if (!joliet && strlen(s) > MAX_EXTENSION_LENGTH)
     {
         error_exit("'%s' has too long extension, aborting...", filename);
     }