Skip to content

Commit

Permalink
fix whitespace prefix behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
zoulasc committed Aug 18, 2022
1 parent 6124574 commit d416974
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/libc/stdlib/strfmon.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $NetBSD: strfmon.c,v 1.17 2022/08/17 09:32:56 christos Exp $ */
/* $NetBSD: strfmon.c,v 1.18 2022/08/18 11:05:02 christos Exp $ */

/*-
* Copyright (c) 2001 Alexey Zelkin <phantom@FreeBSD.org>
Expand Down Expand Up @@ -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.17 2022/08/17 09:32:56 christos Exp $");
__RCSID("$NetBSD: strfmon.c,v 1.18 2022/08/18 11:05:02 christos Exp $");
#endif
#endif /* LIBC_SCCS and not lint */

Expand Down Expand Up @@ -454,7 +454,7 @@ __setup_vars(struct lconv *lc, int flags, char *cs_precedes, char *sep_by_space,
if (*cs_precedes != 0)
*cs_precedes = 1;
if ((unsigned char)*sep_by_space == NBCHAR_MAX)
*sep_by_space = 0;
*sep_by_space = 1;
if ((unsigned char)*sign_posn == NBCHAR_MAX)
*sign_posn = 0;
}
Expand Down

0 comments on commit d416974

Please sign in to comment.