undo unrelated diff.
This commit is contained in:
parent
8c1984cdde
commit
e408681794
|
@ -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
|
* Copyright (c) 1990, 1993
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
static char sccsid[] = "@(#)vfprintf.c 8.1 (Berkeley) 6/4/93";
|
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 $");
|
__FBSDID("$FreeBSD: src/lib/libc/stdio/vfwprintf.c,v 1.27 2007/01/09 00:28:08 imp Exp $");
|
||||||
#else
|
#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
|
||||||
#endif /* LIBC_SCCS and not lint */
|
#endif /* LIBC_SCCS and not lint */
|
||||||
|
|
||||||
|
@ -815,9 +815,8 @@ WDECL(__vf,printf_unlocked)(FILE *fp, const CHAR_T *fmt0, va_list ap)
|
||||||
|
|
||||||
/* optimise fprintf(stderr) (and other unbuffered Unix files) */
|
/* optimise fprintf(stderr) (and other unbuffered Unix files) */
|
||||||
if ((fp->_flags & (__SNBF|__SWR|__SRW)) == (__SNBF|__SWR) &&
|
if ((fp->_flags & (__SNBF|__SWR|__SRW)) == (__SNBF|__SWR) &&
|
||||||
__sfileno(fp) != -1) {
|
__sfileno(fp) != -1)
|
||||||
return (__sbprintf(fp, fmt0, ap));
|
return (__sbprintf(fp, fmt0, ap));
|
||||||
}
|
|
||||||
|
|
||||||
fmt = (CHAR_T *)__UNCONST(fmt0);
|
fmt = (CHAR_T *)__UNCONST(fmt0);
|
||||||
argtable = NULL;
|
argtable = NULL;
|
||||||
|
|
Loading…
Reference in New Issue