pkgsrc-ng/sysutils/sformat/patches/patch-sformat_defect_c
2013-09-26 17:14:40 +02:00

16 lines
421 B
Plaintext

$NetBSD: patch-sformat_defect_c,v 1.1 2012/06/16 08:55:55 dholland Exp $
Fix symbol name conflict with POSIX getline().
--- sformat/defect.c Sat Jun 16 04:48:53 2012 -0400
+++ sformat/defect.c Sat Jun 16 04:50:37 2012 -0400
@@ -238,7 +238,7 @@
for (;;) {
printf("def> ");
flush();
- if ((n = getline(line, 80)) == 0)
+ if ((n = get_line(line, 80)) == 0)
/* return (FALSE);*/
continue;
if (n == EOF)