public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] s390-64 kernel_stat.h
@ 2003-01-13  4:59 Martin Schwidefsky
  2003-01-13  4:59 ` Ulrich Drepper
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Schwidefsky @ 2003-01-13  4:59 UTC (permalink / raw)
  To: libc-hacker

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] s390-64 kernel_stat.h
  2003-01-13  4:59 [PATCH] s390-64 kernel_stat.h Martin Schwidefsky
@ 2003-01-13  4:59 ` Ulrich Drepper
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2003-01-13  4:59 UTC (permalink / raw)
  To: Martin Schwidefsky; +Cc: libc-hacker

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Schwidefsky wrote:

> 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.

This patch is also in.  Thanks,

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+IfPQ2ijCOnn/RHQRAnqEAKCGh3Dq9W9MU1jO2jrmfeXXaag9ewCgyOM2
K5eXpHdJ/1H2w9ipvS0lLyM=
=8aQp
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-12 23:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-13  4:59 [PATCH] s390-64 kernel_stat.h Martin Schwidefsky
2003-01-13  4:59 ` Ulrich Drepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).