summaryrefslogtreecommitdiff
path: root/src/legacy/lutimes.c
AgeCommit message (Collapse)AuthorLines
2020-11-29fix segfault in lutimes when tv argument is NULL√Črico Rolim-5/+7
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.
2013-12-12include cleanups: remove unused headers and add feature test macrosSzabolcs Nagy-0/+1
2012-09-07cleanup src/linux and src/misc trees, etc.Rich Felker-0/+13
previously, it was pretty much random which one of these trees a given function appeared in. they have now been organized into: src/linux: non-POSIX linux syscalls (possibly shard with other nixen) src/legacy: various obsolete/legacy functions, mostly wrappers src/misc: still mostly uncategorized; some misc POSIX, some nonstd src/crypt: crypt hash functions further cleanup will be done later.