1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 03:12:48 +02:00

merge with 1.8.1a

This commit is contained in:
Jim Meyering
1993-10-04 21:20:37 +00:00
parent ae0074289c
commit 3134fad324
10 changed files with 113 additions and 42 deletions

View File

@@ -104,7 +104,13 @@ static char const * const months[] =
/* Add character C to STRING and increment LENGTH,
unless LENGTH would exceed MAX. */
#define add_char(c) (length + 1 <= max) && (string[length++] = (c))
#define add_char(c) \
do \
{ \
if (length + 1 <= max) \
string[length++] = (c); \
} \
while (0)
/* Add a 2 digit number to STRING, padding if specified.
Return the number of characters added, up to MAX. */