mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-27 22:11:24 -04:00
16 lines
498 B
Plaintext
16 lines
498 B
Plaintext
$NetBSD: patch-libscg_scsitransp_c,v 1.1 2012/06/16 08:55:55 dholland Exp $
|
|
|
|
Fix symbol name conflict with POSIX getline().
|
|
|
|
--- libscg/scsitransp.c Sat Jun 16 04:48:53 2012 -0400
|
|
+++ libscg/scsitransp.c Sat Jun 16 04:50:37 2012 -0400
|
|
@@ -302,7 +302,7 @@
|
|
|
|
js_printf("%s", msg);
|
|
flush();
|
|
- if (getline(okbuf, sizeof(okbuf)) == EOF)
|
|
+ if (get_line(okbuf, sizeof(okbuf)) == EOF)
|
|
exit(EX_BAD);
|
|
if(streql(okbuf, "y") || streql(okbuf, "yes") ||
|
|
streql(okbuf, "Y") || streql(okbuf, "YES"))
|