From: Jim Meyering Date: Wed, 29 Jun 2005 16:26:01 +0000 (+0000) Subject: (show_date): Use X2REALLOC rather than x2realloc. X-Git-Tag: CPPI-1_12~455 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fd98517183ca2c17b87cc881db5d143f7498d70d;p=thirdparty%2Fcoreutils.git (show_date): Use X2REALLOC rather than x2realloc. --- diff --git a/src/date.c b/src/date.c index 14f5b6ff49..9bc24b4bc0 100644 --- a/src/date.c +++ b/src/date.c @@ -532,7 +532,7 @@ show_date (const char *format, struct timespec when) while (1) { bool done; - out = x2realloc (out, &out_length); + out = X2REALLOC (out, &out_length); /* Mark the first byte of the buffer so we can detect the case of nstrftime producing an empty string. Otherwise, this loop diff --git a/src/du.c b/src/du.c index a8e978e291..b6fc5add9a 100644 --- a/src/du.c +++ b/src/du.c @@ -430,7 +430,7 @@ show_date (const char *format, time_t when, int nsec) do { - out = x2realloc (out, &out_length); + out = X2REALLOC (out, &out_length); /* Mark the first byte of the buffer so we can detect the case of nstrftime producing an empty string. Otherwise, this loop