Jim Meyering wrote: > On Mon, Dec 15, 2014 at 8:35 PM, KO Myung-Hun <kom...@gmail.com> wrote: >> Paul Eggert wrote: >>> KO Myung-Hun wrote: >>>> /* 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 >>> >>> What happened to VMS? The comment doesn't seem to match the code, and >> >> I don't know of VMS. Do you mean to change comments for OS/2 ? >> >>> this suggests that the code should be moved to wherever VMS does its thing. >> >> Where is it ? I didn't find initialize_main() or others for VMS. > > It was never defined in any version-controlled file, > so please just update the comment, replacing VMS with OS/2.
Ok. Fixed. -- KO Myung-Hun Using Mozilla SeaMonkey 2.7.2 Under OS/2 Warp 4 for Korean with FixPak #15 In VirtualBox v4.1.32 on Intel Core i7-3615QM 2.30GHz with 8GB RAM Korean OS/2 User Community : http://www.ecomstation.co.kr
>From de8bd295137f170571ac20b198bebdd7b8ce701c Mon Sep 17 00:00:00 2001 From: KO Myung-Hun <k...@chollian.net> 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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/system.h b/src/system.h index 8b3f768..2d2635a 100644 --- a/src/system.h +++ b/src/system.h @@ -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" -- 1.8.5.2