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 Aug 30 19:56:02 UTC 2020

Modified Files:
        src/usr.bin/make: compat.c for.c job.c main.c nonints.h str.c var.c

Log Message:
make(1): replace brk_string with Str_Words

The API is much simpler, and there is less detail that is exposed by
default and fewer punctuation to type on the caller's side.  To see that
there is some memory to be freed, one would have to look into the
struct.  Having part of the return value as the actual return value and
the rest in output parameters was unnecessarily asymmetrical.


To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/usr.bin/make/compat.c
cvs rdiff -u -r1.66 -r1.67 src/usr.bin/make/for.c
cvs rdiff -u -r1.226 -r1.227 src/usr.bin/make/job.c
cvs rdiff -u -r1.330 -r1.331 src/usr.bin/make/main.c
cvs rdiff -u -r1.101 -r1.102 src/usr.bin/make/nonints.h
cvs rdiff -u -r1.63 -r1.64 src/usr.bin/make/str.c
cvs rdiff -u -r1.478 -r1.479 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