svn commit: r185917 - user/kmacy/HEAD_fast_multi_xmit/lib/libc/stdio
Kip Macy
kmacy at FreeBSD.org
Wed Dec 10 23:02:31 PST 2008
Author: kmacy
Date: Thu Dec 11 07:02:30 2008
New Revision: 185917
URL: http://svn.freebsd.org/changeset/base/185917
Log:
merge apparent vfprintf change
Modified:
user/kmacy/HEAD_fast_multi_xmit/lib/libc/stdio/vfprintf.c
Modified: user/kmacy/HEAD_fast_multi_xmit/lib/libc/stdio/vfprintf.c
==============================================================================
--- user/kmacy/HEAD_fast_multi_xmit/lib/libc/stdio/vfprintf.c Thu Dec 11 07:01:48 2008 (r185916)
+++ user/kmacy/HEAD_fast_multi_xmit/lib/libc/stdio/vfprintf.c Thu Dec 11 07:02:30 2008 (r185917)
@@ -396,6 +396,12 @@ __vfprintf(FILE *fp, const char *fmt0, v
char sign; /* sign prefix (' ', '+', '-', or \0) */
char thousands_sep; /* locale specific thousands separator */
const char *grouping; /* locale specific numeric grouping rules */
+
+ if (__use_xprintf == 0 && getenv("USE_XPRINTF"))
+ __use_xprintf = 1;
+ if (__use_xprintf > 0)
+ return (__xvprintf(fp, fmt0, ap));
+
#ifndef NO_FLOATING_POINT
/*
* We can decompose the printed representation of floating
@@ -562,10 +568,6 @@ __vfprintf(FILE *fp, const char *fmt0, v
val = GETARG (int); \
}
- if (__use_xprintf == 0 && getenv("USE_XPRINTF"))
- __use_xprintf = 1;
- if (__use_xprintf > 0)
- return (__xvprintf(fp, fmt0, ap));
thousands_sep = '\0';
grouping = NULL;
More information about the svn-src-user
mailing list