|author||Guy Harris <email@example.com>||2016-10-21 22:19:46 -0700|
|committer||Guy Harris <firstname.lastname@example.org>||2016-10-22 05:20:22 +0000|
On UN*X, st_ctime is the last status change time, not the creation time.
That's the time the file's inode last changed, so size changes, permission changes, etc. affect it. It's *not* the time the file was created; most UN*Xes don't provide that. Newer versions of FreeBSD, NetBSD, OpenBSD, and macOS do, but other UN*Xes don't appear to. On Windows, at least according to Microsoft's documentation, st_ctime *is* the creation time. Hopefully that's not the result of confusion on the part of somebody at Microsoft. Change-Id: I20743703f6ef66e40dff9004dc91bed46af6fad0 Reviewed-on: https://code.wireshark.org/review/18378 Reviewed-by: Guy Harris <email@example.com>
Diffstat (limited to 'configure.ac')
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9805e38f44..d03b3cccfa 100644
@@ -2426,6 +2426,12 @@ AC_STRUCT_TIMEZONE
+# We need to know whether "struct stat" has an "st_birthtime" member
+# or an "__st_birthtime" member for the file set dialog.
# We need to know whether "struct sockaddr" has an "sa_len" member
# for get_interface_list().