Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F168362771
D50077.id154511.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
762 B
Referenced Files
None
Subscribers
None
D50077.id154511.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D50077: makefs: Fix a couple of HAVE_STRUCT_STAT_BIRTHTIME checks
Attached
Detach File
Event Timeline
Log In to Comment