Page MenuHomeFreeBSD

D50077.id154511.diff
No OneTemporary

D50077.id154511.diff

diff --git a/usr.sbin/makefs/makefs.c b/usr.sbin/makefs/makefs.c
--- a/usr.sbin/makefs/makefs.c
+++ b/usr.sbin/makefs/makefs.c
@@ -470,7 +470,7 @@
}
st->st_ino = 1;
-#ifdef HAVE_STRUCT_STAT_BIRTHTIME
+#if HAVE_STRUCT_STAT_BIRTHTIME
st->st_birthtime =
#endif
st->st_mtime = st->st_ctime = st->st_atime = when;
diff --git a/usr.sbin/makefs/msdos/msdosfs_vnops.c b/usr.sbin/makefs/msdos/msdosfs_vnops.c
--- a/usr.sbin/makefs/msdos/msdosfs_vnops.c
+++ b/usr.sbin/makefs/msdos/msdosfs_vnops.c
@@ -97,7 +97,7 @@
if (stampst.st_ino)
st = &stampst;
-#ifdef HAVE_STRUCT_STAT_BIRTHTIME
+#if HAVE_STRUCT_STAT_BIRTHTIME
unix2fattime(&st->st_birthtim, &dep->de_CDate, &dep->de_CTime);
#else
unix2fattime(&st->st_ctim, &dep->de_CDate, &dep->de_CTime);

File Metadata

Mime Type
text/plain
Expires
Fri, Aug 28, 7:06 PM (3 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37478315
Default Alt Text
D50077.id154511.diff (762 B)

Event Timeline