projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bdffe1
)
(show_date): Use X2REALLOC rather than x2realloc.
author
Jim Meyering
<jim@meyering.net>
Wed, 29 Jun 2005 16:26:01 +0000
(16:26 +0000)
committer
Jim Meyering
<jim@meyering.net>
Wed, 29 Jun 2005 16:26:01 +0000
(16:26 +0000)
src/date.c
patch
|
blob
|
history
src/du.c
patch
|
blob
|
history
diff --git
a/src/date.c
b/src/date.c
index 14f5b6ff49e39d8bcc5ff048e6bff39cb76f3e7a..9bc24b4bc0ee4ecb1ae402709724be530d372a2f 100644
(file)
--- 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 a8e978e291a4c691dc17bb3bedef778e5a048700..b6fc5add9aba2629d7c7358b5dbc76c8bb163285 100644
(file)
--- 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