bug in openbsd-compat/bsd-misc.c ?
Holger Berger
berger at rus.uni-stuttgart.de
Fri Nov 23 22:56:17 EST 2001
Hi,
shouldn't the utimes function in openbsd-compat/bsd-misc.c
include the lines
ub.atime = tvp[0].tv_sec;
ub.modtime = tvp[1].tv_sec;
instead of
ub.atime = tvp->tv_sec;
ub.modtime = tvp->tv_usec;
??
Or is this already fixed? I found it in release 3.0p1.
This leads to a wrong date when scp -p is used, the modification time is
always set to 0, which is january 1970. This is true for systems without
an own utimes().
regards
Holger
--
Holger Berger hberger at ess.nec.de
NEC European Supercomputer Systems, European HPC Technology Center
Stuttgart, Germany phone: +49-711-68770-35 fax: +49-711-6877145
More information about the openssh-unix-dev
mailing list