Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/stdio A more correct fix for PR standards/52282.



details:   https://anonhg.NetBSD.org/src/rev/e0a7fcebc9a9
branches:  trunk
changeset: 355062:e0a7fcebc9a9
user:      perseant <perseant%NetBSD.org@localhost>
date:      Tue Jul 11 19:36:38 2017 +0000

description:
A more correct fix for PR standards/52282.

diffstat:

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

diffs (27 lines):

diff -r 0656ab6e3deb -r e0a7fcebc9a9 lib/libc/stdio/vfwprintf.c
--- a/lib/libc/stdio/vfwprintf.c        Tue Jul 11 17:45:31 2017 +0000
+++ b/lib/libc/stdio/vfwprintf.c        Tue Jul 11 19:36:38 2017 +0000
@@ -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 @@
                                flags |= GROUPING;
                        else {
                                thousands_sep = '\0';
-                               grouping = "";
+                               grouping = NULL;
                        }
                        goto rflag;
                case '.':



Home | Main Index | Thread Index | Old Index