[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: invoking gunzip.exe
From: |
Karl Berry |
Subject: |
Re: invoking gunzip.exe |
Date: |
Sun, 29 Apr 2007 17:23:39 -0500 |
Hi Chris,
I installed your patch, since it's apparent that it only affects Cygwin.
(The NULL_DEVICE stuff was already there, not that it matters.) I guess
no changes to filesys.c are needed.
Thanks,
Karl
--- lib/system.h.orig 2004-04-26 09:56:57.000000000 -0400
+++ lib/system.h 2007-04-24 09:15:14.417656849 -0400
@@ -219,9 +219,14 @@
# ifdef __CYGWIN__
# define DEFAULT_TMPDIR "/tmp/"
# define PATH_SEP ":"
+# define STRIP_DOT_EXE 0
+# undef NULL_DEVICE
+# define NULL_DEVICE "/dev/null"
+# define PIPE_USE_FORK 1
# else /* O_BINARY && !__CYGWIN__ */
# define DEFAULT_TMPDIR "c:/"
# define PATH_SEP ";"
+# define STRIP_DOT_EXE 1
# endif /* O_BINARY && !__CYGWIN__ */
/* Back to any O_BINARY system. */
# define FILENAME_CMP strcasecmp
@@ -233,7 +238,6 @@
# define IS_ABSOLUTE(n) (IS_SLASH((n)[0]) || ((n)[0] && (n)[1] == ':'))
# define PIPE_USE_FORK 0
# define SET_BINARY(f) do {if (!isatty(f)) setmode(f,O_BINARY);} while(0)
-# define STRIP_DOT_EXE 1
#else /* not O_BINARY, i.e., Unix */
# define SET_BINARY(f) (void)0
- invoking gunzip.exe, Eric Blake, 2007/04/27
- Re: invoking gunzip.exe, Christopher Faylor, 2007/04/29
- Re: invoking gunzip.exe, Eli Zaretskii, 2007/04/28
- Re: invoking gunzip.exe, Karl Berry, 2007/04/29
- Re: invoking gunzip.exe,
Karl Berry <=
- Re: invoking gunzip.exe, Christopher Faylor, 2007/04/29