This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, Andreas pointed out that the kernel_stat.h file for s390-64 contains a very broken definition for struct kernel_stat. This wouldn't have worked if the file had been used anywhere. It is not used anywhere, so there is no point in keeping it. blue skies, Martin. 2003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Remove unused file. diff -urN libc/sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h libc-s390/sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h --- libc/sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h Tue Dec 31 14:24:35 2002 +++ libc-s390/sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h Thu Jan 1 01:00:00 1970 @@ -1,43 +0,0 @@ -/* Definition of `struct stat' used in the kernel. 64 bit S/390 version. - Copyright (C) 2001, 2002 Free Software Foundation, Inc. - Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com). - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, write to the Free - Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307 USA. */ - -struct kernel_stat - { - unsigned int st_dev; - unsigned int st_ino; - unsigned int st_mode; - unsigned int st_nlink; - unsigned int st_uid; - unsigned int st_gid; - unsigned int __pad1; - unsigned int st_rdev; - unsigned long int st_size; - struct timespec st_atim; - struct timespec st_mtim; - struct timespec st_ctim; - unsigned int st_blksize; - int st_blocks; - unsigned long __unused[3]; - }; - -extern int __xstat_conv (int vers, struct kernel_stat *kbuf, void *ubuf); - -#define XSTAT_IS_XSTAT64 1 -#define _HAVE_STAT_NSEC
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |