X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=inline;f=tailor.h;h=9d2399db7dd3b4bffc0c9f83bd3eb0065e182ad9;hb=2725db10000bae65e311a9329973b11053b86f1a;hp=cc150ef8a040af1643154882a6b9c8f3d893095a;hpb=696826daf93f6870a71b88ebf355e1560b9e6c18;p=debian%2Fgzip diff --git a/tailor.h b/tailor.h index cc150ef..9d2399d 100644 --- a/tailor.h +++ b/tailor.h @@ -1,6 +1,6 @@ /* tailor.h -- target dependent definitions - Copyright (C) 1997-1999, 2002, 2006, 2009-2010 Free Software Foundation, + Copyright (C) 1997-1999, 2002, 2006, 2009-2016 Free Software Foundation, Inc. Copyright (C) 1992-1993 Jean-loup Gailly @@ -39,17 +39,12 @@ /* DJGPP version 1.09+ on MS-DOS. * The DJGPP 1.09 stat() function must be upgraded before gzip will * fully work. - * No need for HAVE_DIRENT_H, since defines POSIX_SOURCE which - * implies HAVE_DIRENT_H. */ # define near # else # define MAXSEG_64K # ifdef __TURBOC__ # define off_t long -# ifdef __BORLANDC__ -# define HAVE_DIRENT_H -# endif # define HAVE_UTIME_H # else /* MSC */ # define HAVE_SYS_UTIME_H @@ -100,12 +95,10 @@ # endif # ifdef __EMX__ # define HAVE_SYS_UTIME_H -# define HAVE_DIRENT_H # define EXPAND(argc,argv) \ {_response(&argc, &argv); _wildcard(&argc, &argv);} # endif # ifdef __BORLANDC__ -# define HAVE_DIRENT_H # define HAVE_UTIME_H # endif # ifdef __ZTC__ @@ -162,6 +155,7 @@ # define PATH_SEP2 ':' # define SUFFIX_SEP ';' # define NO_MULTIPLE_DOTS +# define NO_SIZE_CHECK # define Z_SUFFIX "-gz" # define RECORD_IO 1 # define casemap(c) tolow(c) @@ -173,8 +167,6 @@ # define unlink delete # ifdef VAXC # include -# else -# define HAVE_FCNTL_H # endif #endif @@ -184,9 +176,6 @@ # define OS_CODE 0x01 # define ASMV # ifdef __GNUC__ -# define HAVE_DIRENT_H -# define HAVE_FCNTL_H -# define HAVE_UNISTD_H # define HAVE_CHOWN # define HAVE_LSTAT # else /* SASC */ @@ -196,7 +185,6 @@ # define direct dirent extern void _expand_args(int *argc, char ***argv); # define EXPAND(argc,argv) _expand_args(&argc,&argv); -# undef O_BINARY /* disable useless --ascii option */ # endif #endif @@ -231,6 +219,10 @@ # define OS_CODE 0x0a #endif +#ifndef SIGPIPE +# define SIGPIPE 0 +#endif + /* Common defaults */