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:           Tue Dec  1 19:28:32 UTC 2020

Modified Files:
        src/usr.bin/make: dir.c dir.h main.c

Log Message:
make(1): remove Dir_InitDir

The function name had been too ambiguous since it didn't mention the
particular directory that was initialized.  Instead of that function,
Dir_InitCur is called directly from main_Init.

The pseudo CachedDir entry ".DOTLAST" is initialized at the very
beginning.  The observable behavior is unchanged since this a
memory-only object with no connection to the file system.


To generate a diff of this commit:
cvs rdiff -u -r1.245 -r1.246 src/usr.bin/make/dir.c
cvs rdiff -u -r1.39 -r1.40 src/usr.bin/make/dir.h
cvs rdiff -u -r1.490 -r1.491 src/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