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:           Sat Dec 20 18:08:24 UTC 2008

Modified Files:
        src/usr.bin/make: buf.c buf.h var.c

Log Message:
A lot of code assumes that the pointer returned by Buf_GetAll() is malloced.
Replace Buf_Discard() with Buf_Empty() since the former might leave the
'outPtr != buffer' and the only caller wanted all the data discared.
Remove 'outPtr' now that it always equals 'buffer'.
The assumption about Buf_GetAll()is now guaranteed by design.


To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 src/usr.bin/make/buf.c
cvs rdiff -r1.13 -r1.14 src/usr.bin/make/buf.h
cvs rdiff -r1.139 -r1.140 src/usr.bin/make/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