This is a discussion on Re: dump/restore timestamp problems, -current within the mailing.openbsd.tech forums, part of the OpenBSD category; --> We still want to store the non-old versions of the dates so this is better. - todd Index: traverse.c ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| We still want to store the non-old versions of the dates so this is better. - todd Index: traverse.c ================================================== ================= RCS file: /home/cvs/openbsd/src/sbin/dump/traverse.c,v retrieving revision 1.21 diff -u -p -u -r1.21 traverse.c --- traverse.c 3 Jun 2007 20:16:08 -0000 1.21 +++ traverse.c 11 Jun 2007 16:11:17 -0000 @@ -480,9 +480,11 @@ dumpino(union dinode *dp, ino_t ino) if (sblock->fs_magic == FS_UFS1_MAGIC) { spcl.c_mode = dp->dp1.di_mode; spcl.c_size = dp->dp1.di_size; - spcl.c_atime = (time_t)dp->dp1.di_atime; + spcl.c_old_atime = (time_t)dp->dp1.di_atime; + spcl.c_atime = dp->dp1.di_atime; spcl.c_atimensec = dp->dp1.di_atimensec; - spcl.c_mtime = (time_t)dp->dp1.di_mtime; + spcl.c_old_mtime = (time_t)dp->dp1.di_mtime; + spcl.c_mtime = dp->dp1.di_mtime; spcl.c_mtimensec = dp->dp1.di_mtimensec; spcl.c_birthtime = 0; spcl.c_birthtimensec = 0; |
| Thread Tools | |
| Display Modes | |
|
|