update for posixified stat structure
This commit is contained in:
parent
8b16cd6552
commit
93a2f4ea60
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: traverse.c,v 1.13 1995/06/11 05:16:04 mycroft Exp $ */
|
||||
/* $NetBSD: traverse.c,v 1.14 1995/06/18 21:35:33 cgd Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1980, 1988, 1991, 1993
|
||||
@ -37,7 +37,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)traverse.c 8.2 (Berkeley) 9/23/93";
|
||||
#else
|
||||
static char rcsid[] = "$NetBSD: traverse.c,v 1.13 1995/06/11 05:16:04 mycroft Exp $";
|
||||
static char rcsid[] = "$NetBSD: traverse.c,v 1.14 1995/06/18 21:35:33 cgd Exp $";
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -121,13 +121,8 @@ blockest(dp)
|
||||
}
|
||||
|
||||
/* Auxiliary macro to pick up files changed since previous dump. */
|
||||
#ifdef FS_44INODEFMT
|
||||
#define CHANGEDSINCE(dp, t) \
|
||||
((dp)->di_mtime.ts_sec >= (t) || (dp)->di_ctime.ts_sec >= (t))
|
||||
#else
|
||||
#define CHANGEDSINCE(dp, t) \
|
||||
((dp)->di_mtime >= (t) || (dp)->di_ctime >= (t))
|
||||
#endif
|
||||
|
||||
/* The WANTTODUMP macro decides whether a file should be dumped. */
|
||||
#ifdef UF_NODUMP
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mkfs.c,v 1.24 1995/06/11 05:22:58 mycroft Exp $ */
|
||||
/* $NetBSD: mkfs.c,v 1.25 1995/06/18 21:35:38 cgd Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1980, 1989, 1993
|
||||
@ -37,7 +37,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)mkfs.c 8.3 (Berkeley) 2/3/94";
|
||||
#else
|
||||
static char rcsid[] = "$NetBSD: mkfs.c,v 1.24 1995/06/11 05:22:58 mycroft Exp $";
|
||||
static char rcsid[] = "$NetBSD: mkfs.c,v 1.25 1995/06/18 21:35:38 cgd Exp $";
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -847,9 +847,9 @@ fsinit(utime)
|
||||
/*
|
||||
* initialize the node
|
||||
*/
|
||||
node.di_atime.ts_sec = utime;
|
||||
node.di_mtime.ts_sec = utime;
|
||||
node.di_ctime.ts_sec = utime;
|
||||
node.di_atime = utime;
|
||||
node.di_mtime = utime;
|
||||
node.di_ctime = utime;
|
||||
#ifdef LOSTDIR
|
||||
/*
|
||||
* create the lost+found directory
|
||||
|
Loading…
Reference in New Issue
Block a user