From 300424a2d37b17d304be2783ed40f2efa4d950c0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 2 Oct 1994 05:43:03 +0000 Subject: [PATCH] merge with 3.9h --- lib/backupfile.c | 7 ------- lib/dirname.c | 7 ------- lib/fileblocks.c | 7 ------- lib/filemode.c | 4 ---- lib/fsusage.c | 7 ------- lib/ftruncate.c | 7 ------- lib/full-write.c | 9 +-------- lib/isdir.c | 7 ------- lib/makepath.c | 7 ------- lib/modechange.c | 7 ------- lib/rename.c | 7 ------- lib/safe-read.c | 7 ------- lib/savedir.c | 7 ------- lib/userspec.c | 7 ------- 14 files changed, 1 insertion(+), 96 deletions(-) diff --git a/lib/backupfile.c b/lib/backupfile.c index 36094af5e..288803453 100644 --- a/lib/backupfile.c +++ b/lib/backupfile.c @@ -19,14 +19,7 @@ Some algorithms adapted from GNU Emacs. */ #ifdef HAVE_CONFIG_H -#if defined (CONFIG_BROKETS) -/* We use instead of "config.h" so that a compilation - using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h - (which it would do because it found this file in $srcdir). */ #include -#else -#include "config.h" -#endif #endif #include diff --git a/lib/dirname.c b/lib/dirname.c index cb53eb406..929061480 100644 --- a/lib/dirname.c +++ b/lib/dirname.c @@ -16,14 +16,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifdef HAVE_CONFIG_H -#if defined (CONFIG_BROKETS) -/* We use instead of "config.h" so that a compilation - using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h - (which it would do because it found this file in $srcdir). */ #include -#else -#include "config.h" -#endif #endif #ifdef STDC_HEADERS diff --git a/lib/fileblocks.c b/lib/fileblocks.c index ee82f7596..83ac04fd6 100644 --- a/lib/fileblocks.c +++ b/lib/fileblocks.c @@ -18,14 +18,7 @@ /* Written by Brian L. Matthews, blm@6sceng.UUCP. */ #ifdef HAVE_CONFIG_H -#if defined (CONFIG_BROKETS) -/* We use instead of "config.h" so that a compilation - using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h - (which it would do because it found this file in $srcdir). */ #include -#else -#include "config.h" -#endif #endif #if !defined (HAVE_ST_BLOCKS) && !defined(_POSIX_SOURCE) diff --git a/lib/filemode.c b/lib/filemode.c index 838f49af0..e88fc1249 100644 --- a/lib/filemode.c +++ b/lib/filemode.c @@ -16,11 +16,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifdef HAVE_CONFIG_H -#if defined (emacs) || defined (CONFIG_BROKETS) #include -#else -#include "config.h" -#endif #endif #include diff --git a/lib/fsusage.c b/lib/fsusage.c index d60a4c6a7..9bef62aba 100644 --- a/lib/fsusage.c +++ b/lib/fsusage.c @@ -16,14 +16,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifdef HAVE_CONFIG_H -#if defined (CONFIG_BROKETS) -/* We use instead of "config.h" so that a compilation - using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h - (which it would do because it found this file in $srcdir). */ #include -#else -#include "config.h" -#endif #endif #include diff --git a/lib/ftruncate.c b/lib/ftruncate.c index 58cd2bba9..1272ee74f 100644 --- a/lib/ftruncate.c +++ b/lib/ftruncate.c @@ -2,14 +2,7 @@ This file is in the public domain. */ #ifdef HAVE_CONFIG_H -#if defined (CONFIG_BROKETS) -/* We use instead of "config.h" so that a compilation - using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h - (which it would do because it found this file in $srcdir). */ #include -#else -#include "config.h" -#endif #endif #include diff --git a/lib/full-write.c b/lib/full-write.c index 6e2e44683..339fb1a48 100644 --- a/lib/full-write.c +++ b/lib/full-write.c @@ -19,14 +19,7 @@ */ #ifdef HAVE_CONFIG_H -#if defined (CONFIG_BROKETS) -/* We use instead of "config.h" so that a compilation - using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h - (which it would do because it found this file in $srcdir). */ #include -#else -#include "config.h" -#endif #endif #include @@ -47,7 +40,7 @@ int full_write (desc, ptr, len) int desc; char *ptr; - int len; + size_t len; { int total_written; diff --git a/lib/isdir.c b/lib/isdir.c index adfd88a83..dbc9bd07d 100644 --- a/lib/isdir.c +++ b/lib/isdir.c @@ -16,14 +16,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifdef HAVE_CONFIG_H -#if defined (CONFIG_BROKETS) -/* We use instead of "config.h" so that a compilation - using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h - (which it would do because it found this file in $srcdir). */ #include -#else -#include "config.h" -#endif #endif #include diff --git a/lib/makepath.c b/lib/makepath.c index 9725168d2..f0303fa8f 100644 --- a/lib/makepath.c +++ b/lib/makepath.c @@ -19,14 +19,7 @@ Jim Meyering . */ #ifdef HAVE_CONFIG_H -#if defined (CONFIG_BROKETS) -/* We use instead of "config.h" so that a compilation - using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h - (which it would do because it found this file in $srcdir). */ #include -#else -#include "config.h" -#endif #endif #ifdef __GNUC__ diff --git a/lib/modechange.c b/lib/modechange.c index 1c0a59143..8eb8dc55d 100644 --- a/lib/modechange.c +++ b/lib/modechange.c @@ -25,14 +25,7 @@ performance gain. */ #ifdef HAVE_CONFIG_H -#if defined (CONFIG_BROKETS) -/* We use instead of "config.h" so that a compilation - using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h - (which it would do because it found this file in $srcdir). */ #include -#else -#include "config.h" -#endif #endif #include diff --git a/lib/rename.c b/lib/rename.c index b2cf2ceac..63193973b 100644 --- a/lib/rename.c +++ b/lib/rename.c @@ -16,14 +16,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifdef HAVE_CONFIG_H -#if defined (CONFIG_BROKETS) -/* We use instead of "config.h" so that a compilation - using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h - (which it would do because it found this file in $srcdir). */ #include -#else -#include "config.h" -#endif #endif #include diff --git a/lib/safe-read.c b/lib/safe-read.c index 2e131e1f2..22e705aed 100644 --- a/lib/safe-read.c +++ b/lib/safe-read.c @@ -17,14 +17,7 @@ */ #ifdef HAVE_CONFIG_H -#if defined (CONFIG_BROKETS) -/* We use instead of "config.h" so that a compilation - using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h - (which it would do because it found this file in $srcdir). */ #include -#else -#include "config.h" -#endif #endif #include diff --git a/lib/savedir.c b/lib/savedir.c index cdf1288a3..32c793b60 100644 --- a/lib/savedir.c +++ b/lib/savedir.c @@ -18,14 +18,7 @@ /* Written by David MacKenzie . */ #ifdef HAVE_CONFIG_H -#if defined (CONFIG_BROKETS) -/* We use instead of "config.h" so that a compilation - using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h - (which it would do because it found this file in $srcdir). */ #include -#else -#include "config.h" -#endif #endif #include diff --git a/lib/userspec.c b/lib/userspec.c index 75000e8fd..67f158333 100644 --- a/lib/userspec.c +++ b/lib/userspec.c @@ -18,14 +18,7 @@ /* Written by David MacKenzie . */ #ifdef HAVE_CONFIG_H -#if defined (CONFIG_BROKETS) -/* We use instead of "config.h" so that a compilation - using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h - (which it would do because it found this file in $srcdir). */ #include -#else -#include "config.h" -#endif #endif #ifdef __GNUC__ -- 2.11.0