Source-Changes archive

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

CVS commit: src/usr.bin/make



Module Name:    src
Committed By:   rillig
Date:           Sun Dec 13 02:01:43 UTC 2020

Modified Files:
        src/usr.bin/make: job.c main.c parse.c

Log Message:
make(1): replace *line with line[0]

Since a line is not an iterator and since the expression *line typically
means "the current element", not "the first character", replacing *line
with line[0] more directly expresses the idea of accessing the first
character of a string.


To generate a diff of this commit:
cvs rdiff -u -r1.385 -r1.386 src/usr.bin/make/job.c
cvs rdiff -u -r1.495 -r1.496 src/usr.bin/make/main.c
cvs rdiff -u -r1.477 -r1.478 src/usr.bin/make/parse.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