From 92519ce05878ddb78056ea2693ff986e2ac05730 Mon Sep 17 00:00:00 2001 From: KO Myung-Hun Date: Tue, 16 Dec 2014 11:27:28 +0900 Subject: build: expand a response file and a wildcard on OS/2 OS/2 traditional shells(cmd) do not expand a response file(@file) or a wildcard. Expand them in each utility itself. * src/system.h (initialize_main): Define on OS/2. Expand a response file and a wildcard. --- src/system.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/system.h') diff --git a/src/system.h b/src/system.h index 8b3f768d3..2d2635a68 100644 --- a/src/system.h +++ b/src/system.h @@ -135,9 +135,10 @@ enum #include /* Redirection and wildcarding when done by the utility itself. - Generally a noop, but used in particular for native VMS. */ + Generally a noop, but used in particular for OS/2. */ #ifndef initialize_main -# define initialize_main(ac, av) +# define initialize_main(ac, av) \ + do { _wildcard(ac, av); _response(ac, av); } while (0) #endif #include "stat-macros.h" -- cgit v1.2.3-54-g00ecf