Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/stdio missing _



details:   https://anonhg.NetBSD.org/src/rev/4362d5990f6a
branches:  trunk
changeset: 347348:4362d5990f6a
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Aug 22 07:41:10 2016 +0000

description:
missing _

diffstat:

 lib/libc/stdio/fgetwln.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f5553058c973 -r 4362d5990f6a lib/libc/stdio/fgetwln.c
--- a/lib/libc/stdio/fgetwln.c  Mon Aug 22 07:37:43 2016 +0000
+++ b/lib/libc/stdio/fgetwln.c  Mon Aug 22 07:41:10 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fgetwln.c,v 1.6 2016/08/22 06:11:39 christos Exp $     */
+/*     $NetBSD: fgetwln.c,v 1.7 2016/08/22 07:41:10 christos Exp $     */
 
 /*-
  * Copyright (c) 2002-2004 Tim J. Robbins.
@@ -31,7 +31,7 @@
 #if 0
 __FBSDID("$FreeBSD: src/lib/libc/stdio/fgetwln.c,v 1.2 2004/08/06 17:00:09 tjr Exp $");
 #else
-__RCSID("$NetBSD: fgetwln.c,v 1.6 2016/08/22 06:11:39 christos Exp $");
+__RCSID("$NetBSD: fgetwln.c,v 1.7 2016/08/22 07:41:10 christos Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -94,7 +94,7 @@
                if (wc == L'\n')
                        break;
        }
-       if (len == 0 || fp->flags & __SERR)
+       if (len == 0 || fp->_flags & __SERR)
                goto error;
 
        FUNLOCKFILE(fp);



Home | Main Index | Thread Index | Old Index