]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 18 Jan 2002 23:39:39 +0000 (23:39 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 18 Jan 2002 23:39:39 +0000 (23:39 +0000)
* sysdeps/unix/sysv/linux/bits/statvfs.h: Avoid warning about comma at
end of enum for !_GNU_SOURCE.
* sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Likewise.
* sysdeps/mach/hurd/bits/statvfs.h: Don't define non-standard ST_*
values unless _GNU_SOURCE.

ChangeLog
sysdeps/mach/hurd/bits/statvfs.h
sysdeps/unix/sysv/linux/alpha/bits/statvfs.h
sysdeps/unix/sysv/linux/bits/statvfs.h
sysdeps/unix/sysv/linux/ia64/bits/statvfs.h
sysdeps/unix/sysv/linux/sparc/bits/statvfs.h

index a07abc9c18b5cc792fff2beb344af138b303755e..dacb3a4d1ba37a076c7629b90209788e567a5759 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2002-01-18  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/unix/sysv/linux/bits/statvfs.h: Avoid warning about comma at
+       end of enum for !_GNU_SOURCE.
+       * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: Likewise.
+       * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Likewise.
+       * sysdeps/mach/hurd/bits/statvfs.h: Don't define non-standard ST_*
+       values unless _GNU_SOURCE.
+
        * iconvdata/tcvn5712-1.c: Minor cleanups.
 
 2002-01-18  Andreas Schwab  <schwab@suse.de>
index a37915e37c167416ecedd8b12d352485d1337735..bbaf59a722427c186ae9df39d6e1afaf88c36786 100644 (file)
@@ -1,5 +1,5 @@
 /* Definition of `struct statvfs', information about a filesystem.
-   Copyright (C) 1998 Free Software Foundation, Inc.
+   Copyright (C) 1998, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -82,10 +82,13 @@ enum
 {
   ST_RDONLY = 1,
 #define ST_RDONLY      ST_RDONLY
-  ST_NOSUID = 2,
+  ST_NOSUID = 2
 #define ST_NOSUID      ST_NOSUID
+#ifdef __USE_GNU
+  ,
   ST_NOEXEC = 8,
-#define ST_NOEXEC      ST_NOEXEC
+# define ST_NOEXEC     ST_NOEXEC
   ST_SYNCHRONOUS = 16
-#define ST_SYNCHRONOUS ST_SYNCHRONOUS
+# define ST_SYNCHRONOUS        ST_SYNCHRONOUS
+#endif
 };
index d37d0ffcb6a6a1d0158d5ff82e27d5ac625a0da2..6120cf7a1d70e7d5c8ac4e8d41eff04b64852a30 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -71,9 +71,10 @@ enum
 {
   ST_RDONLY = 1,               /* Mount read-only.  */
 #define ST_RDONLY      ST_RDONLY
-  ST_NOSUID = 2,               /* Ignore suid and sgid bits.  */
+  ST_NOSUID = 2                        /* Ignore suid and sgid bits.  */
 #define ST_NOSUID      ST_NOSUID
 #ifdef __USE_GNU
+  ,
   ST_NODEV = 4,                        /* Disallow access to device special files.  */
 # define ST_NODEV      ST_NODEV
   ST_NOEXEC = 8,               /* Disallow program execution.  */
index 32e03f31ea2c6b7d9596cc482d73de2eeee3dec5..02b11da0103f1b84423f0230379036843b604518 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -74,9 +74,10 @@ enum
 {
   ST_RDONLY = 1,               /* Mount read-only.  */
 #define ST_RDONLY      ST_RDONLY
-  ST_NOSUID = 2,               /* Ignore suid and sgid bits.  */
+  ST_NOSUID = 2                        /* Ignore suid and sgid bits.  */
 #define ST_NOSUID      ST_NOSUID
 #ifdef __USE_GNU
+  ,
   ST_NODEV = 4,                        /* Disallow access to device special files.  */
 # define ST_NODEV      ST_NODEV
   ST_NOEXEC = 8,               /* Disallow program execution.  */
index d37d0ffcb6a6a1d0158d5ff82e27d5ac625a0da2..6120cf7a1d70e7d5c8ac4e8d41eff04b64852a30 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -71,9 +71,10 @@ enum
 {
   ST_RDONLY = 1,               /* Mount read-only.  */
 #define ST_RDONLY      ST_RDONLY
-  ST_NOSUID = 2,               /* Ignore suid and sgid bits.  */
+  ST_NOSUID = 2                        /* Ignore suid and sgid bits.  */
 #define ST_NOSUID      ST_NOSUID
 #ifdef __USE_GNU
+  ,
   ST_NODEV = 4,                        /* Disallow access to device special files.  */
 # define ST_NODEV      ST_NODEV
   ST_NOEXEC = 8,               /* Disallow program execution.  */
index 3dafcebf0bf566fcd36a88f1096c1ef92eb637f0..aa14c03449ab7be48c05586524cc6e7d437bcb22 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -81,9 +81,10 @@ enum
 {
   ST_RDONLY = 1,               /* Mount read-only.  */
 #define ST_RDONLY      ST_RDONLY
-  ST_NOSUID = 2,               /* Ignore suid and sgid bits.  */
+  ST_NOSUID = 2                        /* Ignore suid and sgid bits.  */
 #define ST_NOSUID      ST_NOSUID
 #ifdef __USE_GNU
+  ,
   ST_NODEV = 4,                        /* Disallow access to device special files.  */
 # define ST_NODEV      ST_NODEV
   ST_NOEXEC = 8,               /* Disallow program execution.  */