summaryrefslogtreecommitdiff
path: root/devel/mkmf/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'devel/mkmf/files/patch-ab')
-rw-r--r--devel/mkmf/files/patch-ab28
1 files changed, 0 insertions, 28 deletions
diff --git a/devel/mkmf/files/patch-ab b/devel/mkmf/files/patch-ab
deleted file mode 100644
index 8a2d5d507d2b..000000000000
--- a/devel/mkmf/files/patch-ab
+++ /dev/null
@@ -1,28 +0,0 @@
-*** src/misc.c~ Wed May 26 06:51:17 1993
---- src/misc.c Wed Mar 13 23:37:13 1996
-***************
-*** 68,76 ****
- HASHBLK *htinstall(); /* install hash table entry */
-
-! if (gets(answerbuf) == NULL)
- exit(1);
- if (*answerbuf != '\0')
- if (htinstall(mdefkey, answerbuf, mdefval, MDEFTABLE) == NULL)
- exit(1);
- }
-
---- 68,81 ----
- HASHBLK *htinstall(); /* install hash table entry */
-
-! if (fgets(answerbuf, ANSWERBUFSIZE, stdin) == NULL)
- exit(1);
- if (*answerbuf != '\0')
-+ {
-+ char *nlpos = strchr(answerbuf, '\n');
-+ if (nlpos)
-+ *nlpos = '\0';
- if (htinstall(mdefkey, answerbuf, mdefval, MDEFTABLE) == NULL)
- exit(1);
-+ }
- }
-