diff options
Diffstat (limited to 'lang/hope/files')
-rw-r--r-- | lang/hope/files/patch-src_source.c | 20 | ||||
-rw-r--r-- | lang/hope/files/patch-src_source.h | 11 | ||||
-rw-r--r-- | lang/hope/files/patch-src_yylex.c | 11 |
3 files changed, 42 insertions, 0 deletions
diff --git a/lang/hope/files/patch-src_source.c b/lang/hope/files/patch-src_source.c new file mode 100644 index 000000000000..f5a11a47c5a2 --- /dev/null +++ b/lang/hope/files/patch-src_source.c @@ -0,0 +1,20 @@ +--- src/source.c.orig 1999-04-09 23:40:26 UTC ++++ src/source.c +@@ -250,7 +250,7 @@ static const char *const errname[] = { + abort(); + if (errtype >= FATALERR) { + if (gen_listing) /* copy the rest to the listing */ +- while (getline()) ++ while (get_line()) + ; + (void)exit(1); + } +@@ -287,7 +287,7 @@ interactive(void) + * otherwise it ends in a newline (whitespace) and then a null. + */ + global Bool +-getline(void) ++get_line(void) + { + if (atend && cur_source >= source) { + if (cur_source > source) diff --git a/lang/hope/files/patch-src_source.h b/lang/hope/files/patch-src_source.h new file mode 100644 index 000000000000..87760473ca2b --- /dev/null +++ b/lang/hope/files/patch-src_source.h @@ -0,0 +1,11 @@ +--- src/source.h.orig 1997-06-09 08:02:53 UTC ++++ src/source.h +@@ -8,7 +8,7 @@ extern const Byte *inptr; + extern void init_source(FILE *src, Bool gen_listing); + extern void enterfile(FILE *f); + extern Bool interactive(void); +-extern Bool getline(void); ++extern Bool get_line(void); + + #ifdef RE_EDIT + extern void set_script(const char *filename); diff --git a/lang/hope/files/patch-src_yylex.c b/lang/hope/files/patch-src_yylex.c new file mode 100644 index 000000000000..0c63add80d5f --- /dev/null +++ b/lang/hope/files/patch-src_yylex.c @@ -0,0 +1,11 @@ +--- src/yylex.c.orig 1999-04-09 12:21:08 UTC ++++ src/yylex.c +@@ -157,7 +157,7 @@ yylex(void) + inptr = start; + return ';'; + } +- if (! getline()) ++ if (! get_line()) + return EOF; + } else if (IsDigit(c)) { + /* |