diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-05-11 20:22:07 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-05-11 20:22:07 +0000 |
commit | 00c788d9978b4ca105067762e5166743cf104c01 (patch) | |
tree | 632f0487b70d960f8daade9fcd42f209ff772605 /lang/hope/files/patch-src_yylex.c | |
parent | emulators/i386-wine-devel: update to 1.9.9_1. (diff) |
Prevent collision with getline(3)
Diffstat (limited to 'lang/hope/files/patch-src_yylex.c')
-rw-r--r-- | lang/hope/files/patch-src_yylex.c | 11 |
1 files changed, 11 insertions, 0 deletions
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)) { + /* |