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 Dec  4 14:28:50 UTC 2020

Modified Files:
        src/usr.bin/make: dir.c
        src/usr.bin/make/unit-tests: Makefile opt-debug-graph1.exp
            suff-main-several.exp suff-transform-debug.exp

Log Message:
make(1): use fixed format for debug output of the directory cache

The previous output format had a %-20s conversion specifier.  This
produced different output depending on the length of the pathname, which
was too difficult to normalize.  By moving the directory name to the
end, it is no longer necessary to fill up any space, and the numbers are
always aligned properly.

As a result, 3 of the unit tests no longer need any special
postprocessing of their output.


To generate a diff of this commit:
cvs rdiff -u -r1.247 -r1.248 src/usr.bin/make/dir.c
cvs rdiff -u -r1.234 -r1.235 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/make/unit-tests/opt-debug-graph1.exp
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/suff-main-several.exp \
    src/usr.bin/make/unit-tests/suff-transform-debug.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