diff options
author | Jim Meyering <jim@meyering.net> | 1994-12-04 21:15:46 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1994-12-04 21:15:46 +0000 |
commit | 12042b2fa27dc803319d3bcc8f7ebd954250cbd8 (patch) | |
tree | 545c99499087d8df5cc389c48c7293388dd53ea8 /src/env.c | |
parent | 06084cb7e8b51f8bd9e89c84723b7ce4e8af7541 (diff) | |
download | coreutils-12042b2fa27dc803319d3bcc8f7ebd954250cbd8.tar.xz |
Use strr?chr instead of r?index.
Diffstat (limited to 'src/env.c')
-rw-r--r-- | src/env.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -166,7 +166,7 @@ main (argc, argv, envp) if (optind != argc && !strcmp (argv[optind], "-")) ++optind; - while (optind < argc && index (argv[optind], '=')) + while (optind < argc && strchr (argv[optind], '=')) putenv (argv[optind++]); /* If no program is specified, print the environment and exit. */ |