39c39
< * $Id: inode.h,v 1.2 1994/08/02 07:54:49 davidg Exp $
---
> * $Id: inode.h,v 1.3 1994/08/21 07:16:15 paul Exp $
43c43
< #define _UFS_UFS_INODE_H_
---
> #define _UFS_UFS_INODE_H_
143a144,148
> /*
> * XXX this is too long to be a macro, and isn't used in any time-critical
> * place; in fact it is only used in ufs_vnops.c so it shouldn't be in a
> * header file.
> */
144a150
> long tv_sec = time.tv_sec; \
148c154,155
< (ip)->i_atime.ts_sec = (t1)->tv_sec; \
---
> (ip)->i_atime.ts_sec \
> = ((t1) == &time ? tv_sec : (t1)->tv_sec); \
150c157,158
< (ip)->i_mtime.ts_sec = (t2)->tv_sec; \
---
> (ip)->i_mtime.ts_sec \
> = ((t2) == &time ? tv_sec : (t2)->tv_sec); \
154c162
< (ip)->i_ctime.ts_sec = time.tv_sec; \
---
> (ip)->i_ctime.ts_sec = tv_sec; \
166,167d173
<
< #endif
168a175,176
>
> #endif /* !_UFS_UFS_INODE_H_ */
< * $Id: inode.h,v 1.2 1994/08/02 07:54:49 davidg Exp $
---
> * $Id: inode.h,v 1.3 1994/08/21 07:16:15 paul Exp $
43c43
< #define _UFS_UFS_INODE_H_
---
> #define _UFS_UFS_INODE_H_
143a144,148
> /*
> * XXX this is too long to be a macro, and isn't used in any time-critical
> * place; in fact it is only used in ufs_vnops.c so it shouldn't be in a
> * header file.
> */
144a150
> long tv_sec = time.tv_sec; \
148c154,155
< (ip)->i_atime.ts_sec = (t1)->tv_sec; \
---
> (ip)->i_atime.ts_sec \
> = ((t1) == &time ? tv_sec : (t1)->tv_sec); \
150c157,158
< (ip)->i_mtime.ts_sec = (t2)->tv_sec; \
---
> (ip)->i_mtime.ts_sec \
> = ((t2) == &time ? tv_sec : (t2)->tv_sec); \
154c162
< (ip)->i_ctime.ts_sec = time.tv_sec; \
---
> (ip)->i_ctime.ts_sec = tv_sec; \
166,167d173
<
< #endif
168a175,176
>
> #endif /* !_UFS_UFS_INODE_H_ */