summaryrefslogtreecommitdiff
path: root/comms/yaps/files/patch-cv.c
diff options
context:
space:
mode:
Diffstat (limited to 'comms/yaps/files/patch-cv.c')
-rw-r--r--comms/yaps/files/patch-cv.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/yaps/files/patch-cv.c b/comms/yaps/files/patch-cv.c
new file mode 100644
index 000000000000..22aa4b7a311d
--- /dev/null
+++ b/comms/yaps/files/patch-cv.c
@@ -0,0 +1,11 @@
+--- cv.c.orig 1997-06-03 18:43:52 UTC
++++ cv.c
+@@ -151,7 +151,7 @@ cv_read_table (void *cv, char *fname)
+ MCHK (c);
+ if ((! c) || (! (fp = fopen (fname, "r"))))
+ return -1;
+- while (line = getline (fp, True)) {
++ while (line = get_line (fp, True)) {
+ for (sp = line; isspace (*sp); ++sp)
+ ;
+ if (*sp && (*sp != '#')) {