Module Name: src Committed By: christos Date: Fri Oct 12 19:45:47 UTC 2012
Modified Files: src/sys/compat/netbsd32: netbsd32.h Log Message: fix pre-5 stat system call structure which should have used the pre-64-time_t timestamps! To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/sys/compat/netbsd32/netbsd32.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/compat/netbsd32/netbsd32.h diff -u src/sys/compat/netbsd32/netbsd32.h:1.95 src/sys/compat/netbsd32/netbsd32.h:1.96 --- src/sys/compat/netbsd32/netbsd32.h:1.95 Sun Apr 8 07:27:44 2012 +++ src/sys/compat/netbsd32/netbsd32.h Fri Oct 12 15:45:47 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: netbsd32.h,v 1.95 2012/04/08 11:27:44 martin Exp $ */ +/* $NetBSD: netbsd32.h,v 1.96 2012/10/12 19:45:47 christos Exp $ */ /* * Copyright (c) 1998, 2001, 2008 Matthew R. Green @@ -674,9 +674,9 @@ struct netbsd32_stat12 { /* NetBSD-1.2 uid_t st_uid; /* user ID of the file's owner */ gid_t st_gid; /* group ID of the file's group */ uint32_t st_rdev; /* device type */ - struct netbsd32_timespec st_atimespec;/* time of last access */ - struct netbsd32_timespec st_mtimespec;/* time of last data modification */ - struct netbsd32_timespec st_ctimespec;/* time of last file status change */ + struct netbsd32_timespec50 st_atimespec;/* time of last access */ + struct netbsd32_timespec50 st_mtimespec;/* time of last data modification */ + struct netbsd32_timespec50 st_ctimespec;/* time of last file status change */ netbsd32_int64 st_size; /* file size, in bytes */ netbsd32_int64 st_blocks; /* blocks allocated for file */ uint32_t st_blksize; /* optimal blocksize for I/O */ @@ -696,9 +696,9 @@ struct netbsd32_stat43 { /* BSD-4.3 sta uint16_t st_gid; /* group ID of the file's group */ uint16_t st_rdev; /* device type */ int32_t st_size; /* file size, in bytes */ - struct netbsd32_timespec st_atimespec;/* time of last access */ - struct netbsd32_timespec st_mtimespec;/* time of last data modification */ - struct netbsd32_timespec st_ctimespec;/* time of last file status change */ + struct netbsd32_timespec50 st_atimespec;/* time of last access */ + struct netbsd32_timespec50 st_mtimespec;/* time of last data modification */ + struct netbsd32_timespec50 st_ctimespec;/* time of last file status change */ int32_t st_blksize; /* optimal blocksize for I/O */ int32_t st_blocks; /* blocks allocated for file */ uint32_t st_flags; /* user defined flags for file */ @@ -713,16 +713,16 @@ struct netbsd32_stat13 { uid_t st_uid; /* user ID of the file's owner */ gid_t st_gid; /* group ID of the file's group */ uint32_t st_rdev; /* device type */ - struct netbsd32_timespec st_atimespec;/* time of last access */ - struct netbsd32_timespec st_mtimespec;/* time of last data modification */ - struct netbsd32_timespec st_ctimespec;/* time of last file status change */ + struct netbsd32_timespec50 st_atimespec;/* time of last access */ + struct netbsd32_timespec50 st_mtimespec;/* time of last data modification */ + struct netbsd32_timespec50 st_ctimespec;/* time of last file status change */ netbsd32_int64 st_size; /* file size, in bytes */ netbsd32_uint64 st_blocks; /* blocks allocated for file */ blksize_t st_blksize; /* optimal blocksize for I/O */ uint32_t st_flags; /* user defined flags for file */ uint32_t st_gen; /* file generation number */ uint32_t st_spare; /* file generation number */ - struct netbsd32_timespec st_birthtimespec; + struct netbsd32_timespec50 st_birthtimespec; uint32_t st_spare2; };