Where available, use utime() or utimes() to update the file mod time

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 15ab7a87206d657a4182d2932970384d540004d0
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-01-25T05:19:47Z
Releases: 7.4.1
Where available, use utime() or utimes() to update the file mod time
of the socket file and socket lock file; this should prevent both of them
from being removed by even the stupidest varieties of /tmp-cleaning
script.  Per suggestion from Giles Lean.

Files

PathChange+/−
configure modified +5 −2
configure.in modified +3 −3
src/backend/libpq/pqcomm.c modified +50 −9
src/backend/postmaster/postmaster.c modified +2 −1
src/backend/utils/init/miscinit.c modified +27 −8
src/include/libpq/libpq.h modified +2 −1
src/include/pg_config.h.in modified +10 −1