pkgsrc-wip/netbsd-uuencode/patches/patch-aa
2008-03-28 22:12:31 +00:00

20 lines
512 B
Text

$NetBSD: patch-aa,v 1.1 2008/03/28 22:12:31 cheusov Exp $
--- netbsd-uudecode-4.0/uudecode.c.orig 2006-09-25 00:43:14.000000000 +0300
+++ netbsd-uudecode-4.0/uudecode.c
@@ -82,7 +82,6 @@ main(int argc, char *argv[])
int ch, rval;
setlocale(LC_ALL, "");
- setprogname(argv[0]);
pflag = 0;
while ((ch = getopt(argc, argv, "mp")) != -1)
@@ -289,6 +288,6 @@ static void
usage()
{
(void)fprintf(stderr, "usage: %s [-m | -p] [file ...]\n",
- getprogname());
+ "uudecode");
exit(1);
}