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:   sjg
Date:           Wed Oct 29 15:37:08 UTC 2008

Modified Files:
        src/usr.bin/make: cond.c job.c parse.c
        src/usr.bin/make/unit-tests: cond1 test.exp

Log Message:
If Parse_Error is called after curFile is invalid, set it to a dummy
to avoid seg-fault.  Also the NULL filename will cause ParseVErrorInternal
to skip trying to report file and line number info.

If CondToken is called outside the context of a .if etc, variables in
the expression being parsed will already be expanded, so allow for
an unqouted number to jump us back into the compare logic.
This allows ${${SomeNumber:U42} > 0:?True:False} to work anywhere.

Job_Finish should process postCommands if it has commands or children.

To generate a diff of this commit:
cvs rdiff -r1.41 -r1.42 src/usr.bin/make/cond.c
cvs rdiff -r1.140 -r1.141 src/usr.bin/make/job.c
cvs rdiff -r1.147 -r1.148 src/usr.bin/make/parse.c
cvs rdiff -r1.3 -r1.4 src/usr.bin/make/unit-tests/cond1
cvs rdiff -r1.25 -r1.26 src/usr.bin/make/unit-tests/test.exp

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