From: KO Myung-Hun Date: Tue, 16 Dec 2014 02:27:28 +0000 (+0900) Subject: build: expand a response file and a wildcard on OS/2 X-Git-Tag: v8.24~167 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92519ce05878ddb78056ea2693ff986e2ac05730;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/src/system.h b/src/system.h index 8b3f768d31..2d2635a687 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"