Jean-Marc Lasgouttes wrote:
> Angus> This one isn't strictly needed at all, but it does no harm.
> Angus> Changes the interface, so:
> 
> If you are sure you know what the os2 part does, it's OK.

Well, I haven't changed the interface:

http://os2ports.com/docs/porting/porting.html

To get this done on OS/2 you have to do it "manually" in your code since
cmd.exe won't do it for you. However be aware that even people on OS/2 may
use shells which already expand (4os2? or an un*xish shell). Note that
this shouldn't hurt at first glance, but may end up with a substantial
number of commandline arguments passed to your application!

      #include <stdlib.h>
      int main (int argc, char *argv[]) {
        _wildcard (&argc, &argv);
        /* ... the program ... */
      }

This is exactly what we have now.

I'll commit it.

-- 
Angus

Reply via email to