summaryrefslogtreecommitdiff
path: root/lang/nawk/files/patch-bb
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-11-29 10:14:16 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-11-29 10:14:16 +0000
commit76b0284dc5a4ea9c3040fdae4b19ae5b35c47e6f (patch)
tree310ea796faad1ed3c7b95352f00e674d91a69b75 /lang/nawk/files/patch-bb
parentAdd the PAM SSH RSA key authentication module. For example, you can add, (diff)
Update to the Jun 20, 1999 fixes.
Notes
Notes: svn path=/head/; revision=23498
Diffstat (limited to 'lang/nawk/files/patch-bb')
-rw-r--r--lang/nawk/files/patch-bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/lang/nawk/files/patch-bb b/lang/nawk/files/patch-bb
new file mode 100644
index 000000000000..1d7ac7a2633a
--- /dev/null
+++ b/lang/nawk/files/patch-bb
@@ -0,0 +1,34 @@
+*** main.c.orig Mon Oct 19 18:49:03 1998
+--- main.c Wed Jan 13 17:51:59 1999
+***************
+*** 27,32 ****
+--- 27,33 ----
+ #define DEBUG
+ #include <stdio.h>
+ #include <ctype.h>
++ #include <locale.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <signal.h>
+***************
+*** 55,61 ****
+ char *fs = NULL, *marg;
+ int temp;
+
+! cmdname = argv[0];
+ if (argc == 1) {
+ fprintf(stderr, "Usage: %s [-f programfile | 'program'] [-Ffieldsep] [-v var=value] [files]\n", cmdname);
+ exit(1);
+--- 56,67 ----
+ char *fs = NULL, *marg;
+ int temp;
+
+! setlocale(LC_ALL, "");
+!
+! if ((cmdname = strrchr(argv[0], '/')) != NULL)
+! cmdname++;
+! else
+! cmdname = argv[0];
+ if (argc == 1) {
+ fprintf(stderr, "Usage: %s [-f programfile | 'program'] [-Ffieldsep] [-v var=value] [files]\n", cmdname);
+ exit(1);