Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/stdio undo unrelated diff.



details:   https://anonhg.NetBSD.org/src/rev/59e0c9129bdb
branches:  trunk
changeset: 756747:59e0c9129bdb
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jul 31 07:58:22 2010 +0000

description:
undo unrelated diff.

diffstat:

 lib/libc/stdio/vfwprintf.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 055a09bebb78 -r 59e0c9129bdb lib/libc/stdio/vfwprintf.c
--- a/lib/libc/stdio/vfwprintf.c        Sat Jul 31 07:24:52 2010 +0000
+++ b/lib/libc/stdio/vfwprintf.c        Sat Jul 31 07:58:22 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vfwprintf.c,v 1.19 2010/07/31 07:24:52 tnozaki Exp $   */
+/*     $NetBSD: vfwprintf.c,v 1.20 2010/07/31 07:58:22 christos Exp $  */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -38,7 +38,7 @@
 static char sccsid[] = "@(#)vfprintf.c 8.1 (Berkeley) 6/4/93";
 __FBSDID("$FreeBSD: src/lib/libc/stdio/vfwprintf.c,v 1.27 2007/01/09 00:28:08 imp Exp $");
 #else
-__RCSID("$NetBSD: vfwprintf.c,v 1.19 2010/07/31 07:24:52 tnozaki Exp $");
+__RCSID("$NetBSD: vfwprintf.c,v 1.20 2010/07/31 07:58:22 christos Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -815,9 +815,8 @@
 
        /* optimise fprintf(stderr) (and other unbuffered Unix files) */
        if ((fp->_flags & (__SNBF|__SWR|__SRW)) == (__SNBF|__SWR) &&
-           __sfileno(fp) != -1) {
+           __sfileno(fp) != -1)
                return (__sbprintf(fp, fmt0, ap));
-       }
 
        fmt = (CHAR_T *)__UNCONST(fmt0);
        argtable = NULL;



Home | Main Index | Thread Index | Old Index