[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sftp_utimes() uses wrong subsecond unit


Hi,

I think the subsecond handling in sftp_utimes() is wrong. It takes two
"struct timeval" as parameter which contain the tv_usec field. That
field is in microseconds. However, all the Xtime_nseconds fields of
sftp_attributes_struct are in nanoseconds. Hence, a multiplication by
1000 is missing.

Regards
Tilo

Archive administrator: postmaster@lists.cynapses.org