diff options
| author | Garrett Wollman <wollman@FreeBSD.org> | 1995-08-07 19:17:46 +0000 |
|---|---|---|
| committer | Garrett Wollman <wollman@FreeBSD.org> | 1995-08-07 19:17:46 +0000 |
| commit | 656dcd4316d328f627e3c8f99be96bb2c41baf5b (patch) | |
| tree | 413738746625eee30af858d100ea794582067fa4 /usr.bin/find/function.c | |
| parent | 8e53a8e6fc66c9fbe9b277c18b90c11de39d7b7a (diff) | |
Notes
Diffstat (limited to 'usr.bin/find/function.c')
| -rw-r--r-- | usr.bin/find/function.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.bin/find/function.c b/usr.bin/find/function.c index 72a4e744fa481..6bd85b5cfa058 100644 --- a/usr.bin/find/function.c +++ b/usr.bin/find/function.c @@ -53,7 +53,6 @@ static char sccsid[] = "@(#)function.c 8.6 (Berkeley) 4/1/94"; #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <tzfile.h> #include <unistd.h> #include "find.h" @@ -140,7 +139,7 @@ f_atime(plan, entry) extern time_t now; COMPARE((now - entry->fts_statp->st_atime + - SECSPERDAY - 1) / SECSPERDAY, plan->t_data); + 86400 - 1) / 86400, plan->t_data); } PLAN * @@ -170,7 +169,7 @@ f_ctime(plan, entry) extern time_t now; COMPARE((now - entry->fts_statp->st_ctime + - SECSPERDAY - 1) / SECSPERDAY, plan->t_data); + 86400 - 1) / 86400, plan->t_data); } PLAN * @@ -577,8 +576,8 @@ f_mtime(plan, entry) { extern time_t now; - COMPARE((now - entry->fts_statp->st_mtime + SECSPERDAY - 1) / - SECSPERDAY, plan->t_data); + COMPARE((now - entry->fts_statp->st_mtime + 86400 - 1) / + 86400, plan->t_data); } PLAN * |
