Subject: CVS commit: basesrc/usr.bin/sort
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 12/31/2001 20:45:05
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.