diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-01-11 12:29:08 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2005-01-11 12:29:08 +0000 |
commit | ab1ca331f49536505d59d1a6347feca2cbfbd2eb (patch) | |
tree | e59dc27f6c7115b8c09f58c50573a4540fa71608 /src/makepath.c | |
parent | bb5e5067204929c47d177f30afcd440928af88d7 (diff) | |
download | cpio-ab1ca331f49536505d59d1a6347feca2cbfbd2eb.tar.gz cpio-ab1ca331f49536505d59d1a6347feca2cbfbd2eb.tar.bz2 |
Use memset instead of bzero, memmove
(or memcpy, if appropriate), instead of bcopy, and
strchr/strrchr instead of index/rindex.
Diffstat (limited to 'src/makepath.c')
-rw-r--r-- | src/makepath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makepath.c b/src/makepath.c index 9587ba8..8bd2b63 100644 --- a/src/makepath.c +++ b/src/makepath.c @@ -126,7 +126,7 @@ make_path (char *argpath, slash = dirpath; while (*slash == '/') slash++; - while ((slash = index (slash, '/'))) + while ((slash = strchr (slash, '/'))) { #ifdef HPUX_CDF int iscdf; |