Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc/usr.bin/make



Module Name:    basesrc
Committed By:   tv
Date:           Fri Nov  2 03:52:22 UTC 2001

Modified Files:
        basesrc/usr.bin/make: main.c

Log Message:
Strike getenv("PWD") entirely, based on prior discussion with sjg.  This
breaks too many situations, including MAKEOBJDIR with a :C,foo,bar,
transform in many cases.  It's ambiguous and unreliable, as the comment
above that code always indicated.  In order to have reliable objdirs, they
need to work the same way Every Time.

(Note that taking this out is not a performance hit; we were already doing
the getcwd() call first.  So the getenv("PWD") didn't increase performance.)


To generate a diff of this commit:
cvs rdiff -r1.74 -r1.75 basesrc/usr.bin/make/main.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