diff options
author | Jim Meyering <jim@meyering.net> | 1995-02-27 06:01:27 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-02-27 06:01:27 +0000 |
commit | 788bd6716f8cd5d53353f26fe1847aeef3bbda02 (patch) | |
tree | 2abb9ad93a91de9911948c70f4d3aa782425835a | |
parent | 829c2269542583fb67ccbdf1224bcdceebd90256 (diff) | |
download | coreutils-788bd6716f8cd5d53353f26fe1847aeef3bbda02.tar.xz |
(docolon): Use memset instead of bzero.
-rw-r--r-- | src/expr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr.c b/src/expr.c index f971ce36d..cf16cde51 100644 --- a/src/expr.c +++ b/src/expr.c @@ -432,8 +432,8 @@ docolon (sv, pv) tostring (pv); len = strlen (pv->u.s); - bzero (&re_buffer, sizeof (re_buffer)); - bzero (&re_regs, sizeof (re_regs)); + memset (&re_buffer, 0, sizeof (re_buffer)); + memset (&re_regs, 0, sizeof (re_regs)); re_buffer.allocated = 2 * len; re_buffer.buffer = (unsigned char *) xmalloc (re_buffer.allocated); re_buffer.translate = 0; |