Branch: Tag:

2003-02-26

2003-02-26 19:47:12 by Martin Stjernholm <mast@lysator.liu.se>

Backported part of fix from 7.5 to remain compatible with 7.2 command
line parsing. (Perhaps the other half of the fix in revision 1.25 in
7.5 should be backported too, but that causes some of the test cases
to fail.)

Rev: lib/modules/Getopt.pmod:1.25

295:    array(array) ret=({});    foreach(argv; int e; string opt) {    -  if(!e) continue; -  if(!opt || sizeof(opt)<2 || opt[0]!='-') { +  if(!e || !opt) continue; +  if(sizeof(opt)<2 || opt[0]!='-') {    if(posix_me_harder) break;    continue;    }