Module Name: src
Committed By: christos
Date: Mon Nov 27 19:46:14 UTC 2023
Modified Files:
src/lib/libc/stdlib: strfmon.c
Log Message:
Restore original code now that the broken test has been fixed.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/libc/stdlib/strfmon.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/stdlib/strfmon.c
diff -u src/lib/libc/stdlib/strfmon.c:1.20 src/lib/libc/stdlib/strfmon.c:1.21
--- src/lib/libc/stdlib/strfmon.c:1.20 Sun Nov 19 13:57:11 2023
+++ src/lib/libc/stdlib/strfmon.c Mon Nov 27 14:46:14 2023
@@ -1,4 +1,4 @@
-/* $NetBSD: strfmon.c,v 1.20 2023/11/19 18:57:11 christos Exp $ */
+/* $NetBSD: strfmon.c,v 1.21 2023/11/27 19:46:14 christos Exp $ */
/*-
* Copyright (c) 2001 Alexey Zelkin <[email protected]>
@@ -32,7 +32,7 @@
#if 0
__FBSDID("$FreeBSD: src/lib/libc/stdlib/strfmon.c,v 1.14 2003/03/20 08:18:55 ache Exp $");
#else
-__RCSID("$NetBSD: strfmon.c,v 1.20 2023/11/19 18:57:11 christos Exp $");
+__RCSID("$NetBSD: strfmon.c,v 1.21 2023/11/27 19:46:14 christos Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -387,10 +387,8 @@ vstrfmon_l(char * __restrict s, size_t m
if (sign_posn == 0) {
if (flags & IS_NEGATIVE)
PRINT(')');
-#if 0
else if (left_prec >= 0)
PRINT(' ');
-#endif
}
if (dst - tmpptr < width) {