Branch: Tag:

1997-03-17

1997-03-17 02:35:01 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bug in get_all_options() fixed

Rev: lib/modules/Getopt.pmod:1.2

212:    foreach(options, string *option)    {    if(done[ret]) continue; -  if(sizeof(option) > 2) +  if(sizeof(option) > ENV)    { -  mixed foo=option[2]; -  string name=option[0]; +  mixed foo=option[ENV]; +  string name=option[NAME];    if(!foo) continue;    if(stringp(foo)) foo=({foo});    foreach(foo, foo)