t1utils/t1utils-getline.patch

30 lines
684 B
Diff

--- t1asm.c
+++ t1asm.c
@@ -275,7 +275,7 @@
the newline is put into line[]. When terminated by '{', the '{' is not put
into line[], and the flag start_charstring is set to 1. */
-static void getline()
+static void my_getline()
{
int c;
char *p = line;
@@ -716,7 +716,7 @@
without /Subrs sections and provided a patch. */
while (!feof(ifp) && !ferror(ifp)) {
- getline();
+ my_getline();
if (!ever_active) {
if (strncmp(line, "currentfile eexec", 17) == 0) {
@@ -788,7 +788,7 @@
/* There may be additional code. */
while (!feof(ifp) && !ferror(ifp)) {
- getline();
+ my_getline();
eexec_string(line);
}