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:   dsl
Date:           Tue May 17 21:56:52 UTC 2011

Modified Files:
        src/usr.bin/make: Makefile parse.c

Log Message:
If a makefile if a multiple of the page size and doesn't end with a
newline, then it all goes horribly wrong when make tries to terminate
the last input line.
This was all ok before the mmap changes (rev 1.169) because the last
32 bytes of the input buffer were never read into.
The non-mmap case has a similar problem.
Bug found because my .depend files don't have a newline at the end of
the .OPTIO|NAL line (don't know if that is a local change).


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/usr.bin/make/Makefile
cvs rdiff -u -r1.177 -r1.178 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