>From 585596682bcee144eb05941ba4bfd01f2f107165 Mon Sep 17 00:00:00 2001 From: KO Myung-Hun Date: Tue, 16 Dec 2014 11:27:28 +0900 Subject: [PATCH] build: expand a response file and a wildcard on OS/2 OS/2 traditional shells(cmd) does not expand a response file(@file) and a wildcard. Expand them in an utility itself. * src/system.h (initialize_main): Define on OS/2. Expand a response file and a wildcard. --- src/system.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/system.h b/src/system.h index 8b3f768..62d5815 100644 --- a/src/system.h +++ b/src/system.h @@ -137,7 +137,12 @@ enum /* Redirection and wildcarding when done by the utility itself. Generally a noop, but used in particular for native VMS. */ #ifndef initialize_main -# define initialize_main(ac, av) +# ifndef __OS2__ +# define initialize_main(ac, av) +# else +# define initialize_main(ac, av) \ + do { _wildcard(ac, av); _response(ac, av); } while (0) +# endif #endif #include "stat-macros.h" -- 1.8.5.2