mirror of https://git.musl-libc.org/git/musl
Browse Source
calling lutimes with tv=0 is valid if the application wants to set the timestamps to the current time. this commit makes it so the timespec struct is populated with values from tv only if tv != 0 and calls utimensat with times=0 if tv == 0.master
committed by
Rich Felker
1 changed files with 7 additions and 5 deletions
Loading…
Reference in new issue