Module Name: src
Committed By: perseant
Date: Tue Jul 11 19:36:38 UTC 2017
Modified Files:
src/lib/libc/stdio: vfwprintf.c
Log Message:
A more correct fix for PR standards/52282.
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/lib/libc/stdio/vfwprintf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/stdio/vfwprintf.c
diff -u src/lib/libc/stdio/vfwprintf.c:1.35 src/lib/libc/stdio/vfwprintf.c:1.36
--- src/lib/libc/stdio/vfwprintf.c:1.35 Mon Jul 10 22:49:40 2017
+++ src/lib/libc/stdio/vfwprintf.c Tue Jul 11 19:36:38 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: vfwprintf.c,v 1.35 2017/07/10 22:49:40 perseant Exp $ */
+/* $NetBSD: vfwprintf.c,v 1.36 2017/07/11 19:36:38 perseant 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.35 2017/07/10 22:49:40 perseant Exp $");
+__RCSID("$NetBSD: vfwprintf.c,v 1.36 2017/07/11 19:36:38 perseant Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -930,7 +930,7 @@ reswitch: switch (ch) {
flags |= GROUPING;
else {
thousands_sep = '\0';
- grouping = "";
+ grouping = NULL;
}
goto rflag;
case '.':