]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(__have_no_truncate64): Renamed from have_no_truncate64.
authorUlrich Drepper <drepper@redhat.com>
Tue, 4 Jan 2000 19:54:24 +0000 (19:54 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 4 Jan 2000 19:54:24 +0000 (19:54 +0000)
sysdeps/unix/sysv/linux/ftruncate64.c
sysdeps/unix/sysv/linux/truncate64.c

index e17d43b885d16137aef98b757aeabfab26d50755..fd14bc24f389f4f3e703e141d0c59ddc235ea82a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 2000 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
@@ -26,7 +26,7 @@
 #ifdef __NR_ftruncate64
 #ifndef __ASSUME_TRUNCATE64_SYSCALL
 /* The variable is shared between all wrappers around *truncate64 calls.  */
-extern int have_no_truncate64;
+extern int __have_no_truncate64;
 #endif
 
 extern int __syscall_ftruncate64 (int fd, int high_length, int low_length);
@@ -38,7 +38,7 @@ ftruncate64 (fd, length)
      int fd;
      off64_t length;
 {
-  if (! have_no_truncate64)
+  if (! __have_no_truncate64)
     {
       unsigned int low = length & 0xffffffff;
       unsigned int high = length >> 32;
@@ -50,7 +50,7 @@ ftruncate64 (fd, length)
        return result;
 
       __set_errno (saved_errno);
-      have_no_truncate64 = 1;
+      __have_no_truncate64 = 1;
     }
 
   if ((off_t) length != length)
index dca3329cf8c78b786940466d0e91308183dd3d05..74f459ffc89e05dcf91c4e9991f417b705230e39 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 2000 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
@@ -25,7 +25,7 @@
 
 #ifdef __NR_truncate64
 /* The variable is shared between all wrappers around *truncate64 calls.  */
-int have_no_truncate64;
+int __have_no_truncate64;
 
 extern int __syscall_truncate64 (int fd, int high_length, int low_length);
 
@@ -36,7 +36,7 @@ truncate64 (path, length)
      const char *path;
      off64_t length;
 {
-  if (! have_no_truncate64)
+  if (! __have_no_truncate64)
     {
       unsigned int low = length & 0xffffffff;
       unsigned int high = length >> 32;
@@ -48,7 +48,7 @@ truncate64 (path, length)
        return result;
 
       __set_errno (saved_errno);
-      have_no_truncate64 = 1;
+      __have_no_truncate64 = 1;
     }
 
   if ((off_t) length != length)