Line 0
Link Here
|
|
|
1 |
--- src/fr-command-lrzip.c.orig 2014-08-12 22:21:20.000000000 -0700 |
2 |
+++ src/fr-command-lrzip.c 2014-12-02 23:31:58.000000000 -0800 |
3 |
@@ -45,7 +45,11 @@ |
4 |
|
5 |
struct stat st; |
6 |
if (stat (comm->filename, &st) == 0) |
7 |
+#if __FreeBSD_version < 900011 |
8 |
+ fdata->modified = st.st_mtimespec.tv_sec; |
9 |
+#else |
10 |
fdata->modified = st.st_mtim.tv_sec; |
11 |
+#endif |
12 |
else |
13 |
time(&(fdata->modified)); |
14 |
|