[csw-devel] SF.net SVN: gar:[17052] csw/mgar/pkg/bsdiff/trunk/files/ 0001-Add-substitutes-for-err-errx-warn-warnx.patch
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Tue Feb 14 13:30:16 CET 2012
Revision: 17052
http://gar.svn.sourceforge.net/gar/?rev=17052&view=rev
Author: dmichelsen
Date: 2012-02-14 12:30:16 +0000 (Tue, 14 Feb 2012)
Log Message:
-----------
bsdiff/trunk: Use private variable for global argv
Modified Paths:
--------------
csw/mgar/pkg/bsdiff/trunk/files/0001-Add-substitutes-for-err-errx-warn-warnx.patch
Modified: csw/mgar/pkg/bsdiff/trunk/files/0001-Add-substitutes-for-err-errx-warn-warnx.patch
===================================================================
--- csw/mgar/pkg/bsdiff/trunk/files/0001-Add-substitutes-for-err-errx-warn-warnx.patch 2012-02-14 12:26:35 UTC (rev 17051)
+++ csw/mgar/pkg/bsdiff/trunk/files/0001-Add-substitutes-for-err-errx-warn-warnx.patch 2012-02-14 12:30:16 UTC (rev 17052)
@@ -28,12 +28,12 @@
+
+#include "err.h"
+
-+extern char **__xargv;
++extern char **___Argv;
+
+void
+errmsg(char doexit, int excode, char adderr, const char *fmt, ...)
+{
-+ fprintf(stderr, "%s: ", *__xargv);
++ fprintf(stderr, "%s: ", *___Argv);
+ if (fmt != NULL) {
+ va_list argp;
+ va_start(argp, fmt);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list