Source-Changes archive

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

CVS commit: basesrc/usr.bin/sort



Module Name:    basesrc
Committed By:   thorpej
Date:           Mon Dec 31 18:45:05 UTC 2001

Modified Files:
        basesrc/usr.bin/sort: init.c

Log Message:
Change some:

        foo += sscanf(++foo, ...);

constructs to:

        ++foo;
        foo += sscanf(foo, ...);

to avoid the following warning from gcc 3.1:

        warning: operation on `pos' may be undefined


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 basesrc/usr.bin/sort/init.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