projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use high precision time calls
[unix-history]
/
usr
/
src
/
bin
/
csh
/
csh.c
diff --git
a/usr/src/bin/csh/csh.c
b/usr/src/bin/csh/csh.c
index
fb2aa79
..
74370a9
100644
(file)
--- a/
usr/src/bin/csh/csh.c
+++ b/
usr/src/bin/csh/csh.c
@@
-1,4
+1,4
@@
-static char *sccsid = "@(#)csh.c 4.
9
%G%";
+static char *sccsid = "@(#)csh.c 4.
10
%G%";
#include "sh.h"
#include <sys/ioctl.h>
#include "sh.h"
#include <sys/ioctl.h>
@@
-871,7
+871,7
@@
mailchk()
for (; *vp; vp++) {
if (stat(*vp, &stb) < 0)
continue;
for (; *vp; vp++) {
if (stat(*vp, &stb) < 0)
continue;
- new = stb.st_mtime > time0;
+ new = stb.st_mtime > time0
.tv_sec
;
if (stb.st_size == 0 || stb.st_atime > stb.st_mtime ||
(stb.st_atime < chktim && stb.st_mtime < chktim) ||
loginsh && !new)
if (stb.st_size == 0 || stb.st_atime > stb.st_mtime ||
(stb.st_atime < chktim && stb.st_mtime < chktim) ||
loginsh && !new)