utime() -> utimes()
Gert Doering
gert at greenie.muc.de
Sun Dec 31 23:45:16 EST 2000
Hi,
On Sun, Dec 31, 2000 at 02:01:22AM -0600, mouring at etoh.eviladmin.org wrote:
> It's rather a simple matter of providing a utimes() support via
> utime().
>
> utime() tends to be a bit more portable. If you write up a
> bsd-utimes.[ch] I'll be happy to include it.
>From the man pages that I have, utime() seems to be portable while
utimes() is a BSD-ism. So why not change scp.c back to using utime()?
>From looking at the code, using utimes() doesn't bring any benefits,
as the tv[].tv_usec is set to "0" anyway.
gert
--
Gert Doering
Mobile communications ... right now writing from *Aichach*
... mobile phone: +49 177 2160221 ... or mail me: gert at greenie.muc.de
More information about the openssh-unix-dev
mailing list