Page MenuHomeFreeBSD

D49601.diff
No OneTemporary

D49601.diff

diff --git a/usr.sbin/makefs/ffs.c b/usr.sbin/makefs/ffs.c
--- a/usr.sbin/makefs/ffs.c
+++ b/usr.sbin/makefs/ffs.c
@@ -679,8 +679,9 @@
{
size_t slen;
void *membuf;
- struct stat *st = stampst.st_ino != 0 ? &stampst : &cur->inode->st;
+ struct stat *st;
+ st = &cur->inode->st;
memset(dinp, 0, sizeof(*dinp));
dinp->di_mode = cur->inode->st.st_mode;
dinp->di_nlink = cur->inode->nlink;
@@ -725,8 +726,9 @@
{
size_t slen;
void *membuf;
- struct stat *st = stampst.st_ino != 0 ? &stampst : &cur->inode->st;
+ struct stat *st;
+ st = &cur->inode->st;
memset(dinp, 0, sizeof(*dinp));
dinp->di_mode = cur->inode->st.st_mode;
dinp->di_nlink = cur->inode->nlink;
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
@@ -94,8 +94,6 @@
static void
msdosfs_times(struct denode *dep, const struct stat *st)
{
- if (stampst.st_ino)
- st = &stampst;
#if HAVE_STRUCT_STAT_BIRTHTIME
unix2fattime(&st->st_birthtim, &dep->de_CDate, &dep->de_CTime);

File Metadata

Mime Type
text/plain
Expires
Mon, Jun 29, 4:34 AM (10 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34453197
Default Alt Text
D49601.diff (1 KB)

Event Timeline