]> git.ipfire.org Git - thirdparty/zstd.git/commit
Rename UTIL_getFileStat() -> UTIL_statFile() and UTIL_getDirectoryStat() -> UTIL_stat...
authorW. Felix Handte <w@felixhandte.com>
Wed, 5 Aug 2020 04:40:16 +0000 (00:40 -0400)
committerW. Felix Handte <w@felixhandte.com>
Wed, 5 Aug 2020 04:40:16 +0000 (00:40 -0400)
commitb6e24bc4dc633d9596a06fc86e55dc3ff93b110e
tree6ce11148159979dc98049b8f609ae4c65d54642b
parent1a1003f996e069a4c0edb09b88aabcce76263ef6
Rename UTIL_getFileStat() -> UTIL_statFile() and UTIL_getDirectoryStat() -> UTIL_statDir()

I want to introduce versions of many of these functions that take pre-
populated `stat_t` objects and use those rather than doing their own redundant
`stat()` internally. These functions will have `...Stat()` suffixes. So this
commit renames these existing functions into the active voice, to avoid
confusion.
programs/fileio.c
programs/util.c
programs/util.h