Module Name: src Committed By: martin Date: Sat Aug 25 14:45:37 UTC 2018
Modified Files: src/bin/sh [netbsd-8]: histedit.c mystring.c options.c parser.c var.c Log Message: Pull up following revision(s) (requested by kre in ticket #988): bin/sh/parser.c: revision 1.147 bin/sh/var.c: revision 1.70 bin/sh/mystring.c: revision 1.18 bin/sh/options.c: revision 1.53 bin/sh/histedit.c: revision 1.53 Remove atoi() Mostly use number() (no longer implemented using atoi()) when an unsigned integer is required, but use strtoXXX() when a conversion is wanted, without the possibility or error (like setting OPTIND and RANDOM). Always init OPTIND to 1 when sh starts (overriding anything in environ.) To generate a diff of this commit: cvs rdiff -u -r1.48.8.1 -r1.48.8.2 src/bin/sh/histedit.c cvs rdiff -u -r1.17 -r1.17.22.1 src/bin/sh/mystring.c cvs rdiff -u -r1.49 -r1.49.2.1 src/bin/sh/options.c cvs rdiff -u -r1.132.2.4 -r1.132.2.5 src/bin/sh/parser.c cvs rdiff -u -r1.55.2.2 -r1.55.2.3 src/bin/sh/var.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.