CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2024/04/09 09:08:21

Modified files:
        usr.bin/make   : engine.c timestamp.c timestamp.h 

Log message:
make(1): inline set_times() into Job_Touch()

set_times() has one caller: Job_Touch().  set_times() is a thin
utimes(2) wrapper.  Using utimes(2) to reset a file's atime/mtime
to the current time is not cumbersome.

So, remove set_times() and just call utimes(2) directly.

Thread: https://marc.info/?l=openbsd-tech&m=171262211713835&w=2

ok kn@

Reply via email to