[Pkg-samba-maint] r3304 - branches/samba/lenny/debian/patches

vorlon at alioth.debian.org vorlon at alioth.debian.org
Sat Feb 13 23:44:49 UTC 2010


Author: vorlon
Date: 2010-02-13 23:44:47 +0000 (Sat, 13 Feb 2010)
New Revision: 3304

Modified:
   branches/samba/lenny/debian/patches/security-CVE-2010-0547.patch
Log:
fix backport of patch; EX_USAGE is not defined, replace with -1

Modified: branches/samba/lenny/debian/patches/security-CVE-2010-0547.patch
===================================================================
--- branches/samba/lenny/debian/patches/security-CVE-2010-0547.patch	2010-02-13 23:22:27 UTC (rev 3303)
+++ branches/samba/lenny/debian/patches/security-CVE-2010-0547.patch	2010-02-13 23:44:47 UTC (rev 3304)
@@ -38,7 +38,7 @@
 +        if (strchr(name, *s)) {
 +            fprintf(stderr, "%s: illegal character 0x%02x in mount entry\n",
 +                    progname, *s);
-+            return EX_USAGE;
++            return -1;
 +        }
 +    }
 +    return 0;
@@ -49,7 +49,7 @@
 +{
 +	if (check_newline(progname, devname) == -1 ||
 +	    check_newline(progname, dir) == -1)
-+		return EX_USAGE;
++		return -1;
 +	return 0;
 +}
 +




More information about the Pkg-samba-maint mailing list