Mercurial > hg > octave-kai > gnulib-hg
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 +++ b/lib/backupfile.c @@ -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 +++ 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 <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 +++ 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 <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 +++ 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 <config.h> -#else -#include "config.h" -#endif #endif #include <sys/types.h>
--- 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 <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 +++ 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 <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 +++ b/lib/full-write.c @@ -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 +++ 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 <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 +++ b/lib/makepath.c @@ -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 +++ b/lib/modechange.c @@ -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 +++ 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 <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 +++ b/lib/safe-read.c @@ -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 +++ b/lib/savedir.c @@ -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 +++ b/lib/userspec.c @@ -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__