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:
d73dd15
)
(batch_convert): Use memcpy when we don't need return value.
author
Jim Meyering
<jim@meyering.net>
Sat, 10 Jan 1998 14:21:35 +0000
(14:21 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 10 Jan 1998 14:21:35 +0000
(14:21 +0000)
src/date.c
patch
|
blob
|
history
diff --git
a/src/date.c
b/src/date.c
index
b24e09c
..
6e95b8f
100644
(file)
--- a/
src/date.c
+++ b/
src/date.c
@@
-142,7
+142,7
@@
batch_convert (const char *input_filename, const char *format)
{
size_t tz_len = strlen (initial_TZ);
char *buf = xmalloc (3 + tz_len + 1);
- mem
p
cpy (mempcpy (buf, "TZ=", 3), initial_TZ, tz_len + 1);
+ memcpy (mempcpy (buf, "TZ=", 3), initial_TZ, tz_len + 1);
initial_TZ = buf;
}
}