diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-05-14 23:07:13 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-05-14 23:08:59 -0700 |
commit | 3549f733b9cd2c7fd5dd1e4a273151e2da01a00b (patch) | |
tree | dae7ccaa474f677c43c47b7f92e9b5ff37deef50 /bootstrap.conf | |
parent | de512b8345de9d501b21a5c1bc446e28d50ebf8c (diff) | |
download | diffutils-3549f733b9cd2c7fd5dd1e4a273151e2da01a00b.tar.gz |
main: port subcommands to mingw
Problem reported by Eli Zaretskii in
<http://lists.gnu.org/archive/html/bug-gnu-utils/2012-05/msg00013.html>.
Approach suggested by Bruno Haible as option (4) in
<http://lists.gnu.org/archive/html/bug-gnu-utils/2012-05/msg00036.html>.
* bootstrap.conf (gnulib_modules): Add system-quote.
* src/diff3.c, src/sdiff.c, src/util.c:
Include <system-quote.h>, not <sh-quote.h>.
* src/diff3.c (read_diff):
* src/sdiff.c (main, edit):
* src/util.c (begin_output):
Use system_quote_argv, for portability to Mingw.
* src/sdiff.c (NUM_SIGS, handler_index_of_SIGINT): Now enum
values, not macros; this is cleaner and avoids a GCC warning if
!HAVE_WORKING_VFORK.
* src/util.c (begin_output) [! HAVE_WORKING_FORK]: Do not use -f,
for consistency with the HAVE_WORKING_FORK code.
Diffstat (limited to 'bootstrap.conf')
-rw-r--r-- | bootstrap.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap.conf b/bootstrap.conf index 55f0837..3954c4d 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -69,6 +69,7 @@ strftime strptime strtoumax sys_wait +system-quote unistd unlocked-io update-copyright |