X-Git-Url: https://git.cworth.org/git?p=gzip;a=blobdiff_plain;f=tailor.h;h=1dcf2d8b821bc72984114a678198da46fd1f0403;hp=7ec0b7843770f11b31dec8eced2255ba663987eb;hb=HEAD;hpb=db00b4e39677b0dbf3ea6f7694e0eac7be4ef141 diff --git a/tailor.h b/tailor.h index 7ec0b78..1dcf2d8 100644 --- a/tailor.h +++ b/tailor.h @@ -1,14 +1,27 @@ /* tailor.h -- target dependent definitions - * Copyright (C) 1992-1993 Jean-loup Gailly. - * This is free software; you can redistribute it and/or modify it under the - * terms of the GNU General Public License, see the file COPYING. - */ + + Copyright (C) 1997, 1998, 1999, 2002, 2006 Free Software Foundation, Inc. + Copyright (C) 1992-1993 Jean-loup Gailly + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* The target dependent definitions should be defined here only. * The target dependent functions should be defined in tailor.c. */ -/* $Id: tailor.h,v 0.18 1993/06/14 19:32:20 jloup Exp $ */ +/* $Id: tailor.h,v 1.5 2006/12/07 06:58:13 eggert Exp $ */ #if defined(__MSDOS__) && !defined(MSDOS) # define MSDOS @@ -37,7 +50,6 @@ # define off_t long # ifdef __BORLANDC__ # define HAVE_DIRENT_H -# define HAVE_UTIME # endif # define HAVE_UTIME_H # else /* MSC */ @@ -224,8 +236,8 @@ #ifdef __50SERIES /* Prime/PRIMOS */ # define PATH_SEP '>' # define STDC_HEADERS -# define NO_STDIN_FSTAT -# define NO_SIZE_CHECK +# define NO_STDIN_FSTAT +# define NO_SIZE_CHECK # define RECORD_IO 1 # define casemap(c) tolow(c) /* Force file names to lower case */ # define put_char(c) put_byte((c) & 0x7F) @@ -244,10 +256,6 @@ # define OS_CODE 0x0a #endif -#ifndef unix -# define NO_ST_INO /* don't rely on inode numbers */ -#endif - /* Common defaults */ @@ -303,7 +311,7 @@ #endif #ifndef OPEN -# define OPEN(name, flags, mode) open(name, flags, mode) +# define OPEN(name, flags, mode) open_safer (name, flags, mode) #endif #ifndef get_char