changeset 316:f9fa66a3a613

merge with 3.9h
author Jim Meyering <jim@meyering.net>
date Sun, 02 Oct 1994 05:43:03 +0000
parents 21c5085366d5
children b4df8eb979b6
files lib/backupfile.c lib/dirname.c lib/fileblocks.c lib/filemode.c lib/fsusage.c lib/ftruncate.c lib/full-write.c lib/isdir.c lib/makepath.c lib/modechange.c lib/rename.c lib/safe-read.c lib/savedir.c lib/userspec.c
diffstat 14 files changed, 1 insertions(+), 96 deletions(-) [+]
line wrap: on
line diff
--- a/lib/backupfile.c	Sun Oct 02 05:35:52 1994 +0000
+++ b/lib/backupfile.c	Sun Oct 02 05:43:03 1994 +0000
@@ -19,14 +19,7 @@
    Some algorithms adapted from GNU Emacs. */
 
 #ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> 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 <config.h>
-#else
-#include "config.h"
-#endif
 #endif
 
 #include <stdio.h>
--- a/lib/dirname.c	Sun Oct 02 05:35:52 1994 +0000
+++ b/lib/dirname.c	Sun Oct 02 05:43:03 1994 +0000
@@ -16,14 +16,7 @@
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> 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 <config.h>
-#else
-#include "config.h"
-#endif
 #endif
 
 #ifdef STDC_HEADERS
--- a/lib/fileblocks.c	Sun Oct 02 05:35:52 1994 +0000
+++ b/lib/fileblocks.c	Sun Oct 02 05:43:03 1994 +0000
@@ -18,14 +18,7 @@
 /* Written by Brian L. Matthews, blm@6sceng.UUCP. */
 
 #ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> 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 <config.h>
-#else
-#include "config.h"
-#endif
 #endif
 
 #if !defined (HAVE_ST_BLOCKS) && !defined(_POSIX_SOURCE)
--- a/lib/filemode.c	Sun Oct 02 05:35:52 1994 +0000
+++ b/lib/filemode.c	Sun Oct 02 05:43:03 1994 +0000
@@ -16,11 +16,7 @@
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #ifdef HAVE_CONFIG_H
-#if defined (emacs) || defined (CONFIG_BROKETS)
 #include <config.h>
-#else
-#include "config.h"
-#endif
 #endif
 
 #include <sys/types.h>
--- a/lib/fsusage.c	Sun Oct 02 05:35:52 1994 +0000
+++ b/lib/fsusage.c	Sun Oct 02 05:43:03 1994 +0000
@@ -16,14 +16,7 @@
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> 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 <config.h>
-#else
-#include "config.h"
-#endif
 #endif
 
 #include <sys/types.h>
--- a/lib/ftruncate.c	Sun Oct 02 05:35:52 1994 +0000
+++ b/lib/ftruncate.c	Sun Oct 02 05:43:03 1994 +0000
@@ -2,14 +2,7 @@
    This file is in the public domain.  */
 
 #ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> 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 <config.h>
-#else
-#include "config.h"
-#endif
 #endif
 
 #include <sys/types.h>
--- a/lib/full-write.c	Sun Oct 02 05:35:52 1994 +0000
+++ b/lib/full-write.c	Sun Oct 02 05:43:03 1994 +0000
@@ -19,14 +19,7 @@
    */
 
 #ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> 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 <config.h>
-#else
-#include "config.h"
-#endif
 #endif
 
 #include <sys/types.h>
@@ -47,7 +40,7 @@
 full_write (desc, ptr, len)
      int desc;
      char *ptr;
-     int len;
+     size_t len;
 {
   int total_written;
 
--- a/lib/isdir.c	Sun Oct 02 05:35:52 1994 +0000
+++ b/lib/isdir.c	Sun Oct 02 05:43:03 1994 +0000
@@ -16,14 +16,7 @@
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> 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 <config.h>
-#else
-#include "config.h"
-#endif
 #endif
 
 #include <sys/types.h>
--- a/lib/makepath.c	Sun Oct 02 05:35:52 1994 +0000
+++ b/lib/makepath.c	Sun Oct 02 05:43:03 1994 +0000
@@ -19,14 +19,7 @@
    Jim Meyering <meyering@cs.utexas.edu>.  */
 
 #ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> 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 <config.h>
-#else
-#include "config.h"
-#endif
 #endif
 
 #ifdef __GNUC__
--- a/lib/modechange.c	Sun Oct 02 05:35:52 1994 +0000
+++ b/lib/modechange.c	Sun Oct 02 05:43:03 1994 +0000
@@ -25,14 +25,7 @@
    performance gain. */
 
 #ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> 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 <config.h>
-#else
-#include "config.h"
-#endif
 #endif
 
 #include <sys/types.h>
--- a/lib/rename.c	Sun Oct 02 05:35:52 1994 +0000
+++ b/lib/rename.c	Sun Oct 02 05:43:03 1994 +0000
@@ -16,14 +16,7 @@
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> 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 <config.h>
-#else
-#include "config.h"
-#endif
 #endif
 
 #include <sys/types.h>
--- a/lib/safe-read.c	Sun Oct 02 05:35:52 1994 +0000
+++ b/lib/safe-read.c	Sun Oct 02 05:43:03 1994 +0000
@@ -17,14 +17,7 @@
    */
 
 #ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> 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 <config.h>
-#else
-#include "config.h"
-#endif
 #endif
 
 #include <sys/types.h>
--- a/lib/savedir.c	Sun Oct 02 05:35:52 1994 +0000
+++ b/lib/savedir.c	Sun Oct 02 05:43:03 1994 +0000
@@ -18,14 +18,7 @@
 /* Written by David MacKenzie <djm@gnu.ai.mit.edu>. */
 
 #ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> 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 <config.h>
-#else
-#include "config.h"
-#endif
 #endif
 
 #include <sys/types.h>
--- a/lib/userspec.c	Sun Oct 02 05:35:52 1994 +0000
+++ b/lib/userspec.c	Sun Oct 02 05:43:03 1994 +0000
@@ -18,14 +18,7 @@
 /* Written by David MacKenzie <djm@gnu.ai.mit.edu>.  */
 
 #ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> 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 <config.h>
-#else
-#include "config.h"
-#endif
 #endif
 
 #ifdef __GNUC__