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.
This commit is contained in:
KO Myung-Hun authored and Jim Meyering committed 2014-12-18 07:21:21 -08:00
1 parent 8799c82d81
commit 92519ce058
1 file changed
+3 -2
+3 -2
View File
@@ -135,9 +135,10 @@ enum
#include <inttypes.h>
/* 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"