Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/bin/sh



Module Name:    src
Committed By:   kre
Date:           Fri Jul 13 22:43:44 UTC 2018

Modified Files:
        src/bin/sh: histedit.c mystring.c options.c parser.c var.c

Log Message:
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.52 -r1.53 src/bin/sh/histedit.c src/bin/sh/options.c
cvs rdiff -u -r1.17 -r1.18 src/bin/sh/mystring.c
cvs rdiff -u -r1.146 -r1.147 src/bin/sh/parser.c
cvs rdiff -u -r1.69 -r1.70 src/bin/sh/var.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index