diff options
author | Jim Meyering <jim@meyering.net> | 1995-01-29 05:33:05 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-01-29 05:33:05 +0000 |
commit | 5695b2f051f107d6651930bb1822af9dc84fa41d (patch) | |
tree | a3720eab7d23a4f7394033a3ea3d812384630023 /src/od.c | |
parent | faed18c2670bc3da15c899e2bced49bb75984646 (diff) | |
download | coreutils-5695b2f051f107d6651930bb1822af9dc84fa41d.tar.xz |
(parse_old_offset): Use strchr, not index.
Diffstat (limited to 'src/od.c')
-rw-r--r-- | src/od.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1340,7 +1340,7 @@ parse_old_offset (s) /* Determine the radix we'll use to interpret S. If there is a `.', it's decimal, otherwise, if the string begins with `0X'or `0x', it's hexadecimal, else octal. */ - if (index (s, '.') != NULL) + if (strchr (s, '.') != NULL) radix = 10; else { |