Hi,
here are the patches to current stable code for building under OS/2 with gcc3.2.x
Description:
- I know optind fix is not in the best place, but current getopt works in this way;
- _response&_wildcard will expand command line file masks;
- datastore_db.c: structure not available under os2;
- paths.h: macro has only one underscore (ev build);
- system.c: full path can start with drive letter, / or \;
- degen.out: FREE and free are the same file under OS/2;
- t.frame: check for file exists instead of execute (this is not possible for os2);
- wantcore.c: structure not available under os2;
- wordlist.c: os2 fcntl() can return EACCES if lock fails;
With above changes, current OS/2 binary can pass all 34 tests :-)
TIA,
Yuri Dario