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:           Fri Oct 30 20:30:44 UTC 2020

Modified Files:
        src/usr.bin/make: arch.c compat.c cond.c job.c main.c make.c meta.c
            nonints.h parse.c suff.c trace.c var.c

Log Message:
make(1): change char * to void * in Var_Value

The only purpose of the parameter freeIt is to free the memory
associated with the return value.  To do this, no pointer arithmetic is
needed.  Therefore, change to a void pointer, to catch accidental use of
that pointer.


To generate a diff of this commit:
cvs rdiff -u -r1.148 -r1.149 src/usr.bin/make/arch.c
cvs rdiff -u -r1.169 -r1.170 src/usr.bin/make/compat.c
cvs rdiff -u -r1.172 -r1.173 src/usr.bin/make/cond.c
cvs rdiff -u -r1.295 -r1.296 src/usr.bin/make/job.c
cvs rdiff -u -r1.411 -r1.412 src/usr.bin/make/main.c
cvs rdiff -u -r1.182 -r1.183 src/usr.bin/make/make.c
cvs rdiff -u -r1.132 -r1.133 src/usr.bin/make/meta.c
cvs rdiff -u -r1.146 -r1.147 src/usr.bin/make/nonints.h
cvs rdiff -u -r1.412 -r1.413 src/usr.bin/make/parse.c
cvs rdiff -u -r1.228 -r1.229 src/usr.bin/make/suff.c
cvs rdiff -u -r1.19 -r1.20 src/usr.bin/make/trace.c
cvs rdiff -u -r1.605 -r1.606 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