blob: 006771de65077802ca1a53888244423c7d3a7863 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
Avoid conflict with getline from some newer C libraries.
diff -ur t1utils-1.34.orig/t1asm.c t1utils-1.34/t1asm.c
--- t1utils-1.34.orig/t1asm.c 2008-03-01 18:59:11.000000000 +0100
+++ t1utils-1.34/t1asm.c 2009-06-12 01:41:46.000000000 +0200
@@ -280,7 +280,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 texlive_getline()
{
int c;
char *p = line;
@@ -721,7 +721,7 @@
without /Subrs sections and provided a patch. */
while (!feof(ifp) && !ferror(ifp)) {
- getline();
+ texlive_getline();
if (!ever_active) {
if (strncmp(line, "currentfile eexec", 17) == 0 && isspace(line[17])) {
@@ -792,7 +792,7 @@
/* There may be additional code. */
while (!feof(ifp) && !ferror(ifp)) {
- getline();
+ texlive_getline();
eexec_string(line);
}
|