From: Ulrich Drepper Date: Tue, 4 Jan 2000 19:54:24 +0000 (+0000) Subject: (__have_no_truncate64): Renamed from have_no_truncate64. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b835b253cfa925cc7cbd91fcf09f53b50c5eb56;p=thirdparty%2Fglibc.git (__have_no_truncate64): Renamed from have_no_truncate64. --- diff --git a/sysdeps/unix/sysv/linux/ftruncate64.c b/sysdeps/unix/sysv/linux/ftruncate64.c index e17d43b885d..fd14bc24f38 100644 --- a/sysdeps/unix/sysv/linux/ftruncate64.c +++ b/sysdeps/unix/sysv/linux/ftruncate64.c @@ -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) diff --git a/sysdeps/unix/sysv/linux/truncate64.c b/sysdeps/unix/sysv/linux/truncate64.c index dca3329cf8c..74f459ffc89 100644 --- a/sysdeps/unix/sysv/linux/truncate64.c +++ b/sysdeps/unix/sysv/linux/truncate64.c @@ -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)