[Debburn-changes] r525 - cdrkit/trunk/genisoimage
Eduard Bloch
blade at alioth.debian.org
Wed Nov 29 12:03:48 CET 2006
Author: blade
Date: 2006-11-29 12:03:47 +0100 (Wed, 29 Nov 2006)
New Revision: 525
Modified:
cdrkit/trunk/genisoimage/genisoimage.c
Log:
Added a version fake line to genisoimage, otherwise k3b is confused
Modified: cdrkit/trunk/genisoimage/genisoimage.c
===================================================================
--- cdrkit/trunk/genisoimage/genisoimage.c 2006-11-29 10:58:07 UTC (rev 524)
+++ cdrkit/trunk/genisoimage/genisoimage.c 2006-11-29 11:03:47 UTC (rev 525)
@@ -1278,6 +1278,7 @@
int warn_violate = 0;
int have_cmd_line_pathspec = 0;
int rationalize_all = 0;
+ int mkisofs_call=0;
#ifdef APPLE_HYB
char *afpfile = ""; /* mapping file for TYPE/CREATOR */
@@ -1285,8 +1286,10 @@
char *root_info = 0;
#endif /* APPLE_HYB */
- if(argc && strstr(argv[0], "mkisofs")) /* lame cheater detected */
+ if(argc && strstr(argv[0], "mkisofs")) { /* lame cheater detected */
argv[0]="genisoimage";
+ mkisofs_call=1;
+ }
#ifdef __EMX__
/* This gives wildcard expansion with Non-Posix shells with EMX */
@@ -2155,6 +2158,9 @@
usage(0);
break;
case OPTION_PVERSION:
+ if(mkisofs_call)
+ printf("mkisofs 2.01 is not what you see here. This line is only a fake for too clever\n"
+ "GUIs and other frontend applications. In fact, this program is:\n");
printf("%s (%s)\n", version_string, HOST_SYSTEM);
exit(0);
break;
More information about the Debburn-changes
mailing list