From: Jim Meyering Date: Sun, 2 Oct 1994 05:43:03 +0000 (+0000) Subject: merge with 3.9h X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=300424a2d37b17d304be2783ed40f2efa4d950c0;p=pspp merge with 3.9h --- diff --git a/lib/backupfile.c b/lib/backupfile.c index 36094af5ed..288803453d 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 cb53eb406d..9290614805 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 ee82f7596e..83ac04fd6e 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 838f49af0c..e88fc1249e 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 d60a4c6a73..9bef62aba7 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 58cd2bba97..1272ee74f6 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 6e2e446830..339fb1a483 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 adfd88a83a..dbc9bd07df 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 9725168d2f..f0303fa8f5 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 1c0a59143a..8eb8dc55db 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 b2cf2ceac8..63193973b6 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 2e131e1f2c..22e705aedb 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 cdf1288a3e..32c793b607 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 75000e8fd3..67f1583335 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__