Branch: Tag:

2001-06-10

2001-06-10 14:11:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

A few bugfixes.

Rev: src/combine_path.h:1.2

85:    if(s->s->len && !IS_SEP(LAST_PUSHED()))    PUSH('/');    -  while(s->s->len==2) +  if(s->s->len==2)    {    PCHARP to=MKPCHARP_STR(s->s);    if(INDEX_PCHARP(to, 0) == '.')
163:    if(from>=len) break;    PUSH(INDEX_PCHARP(path, from++));    } -  if(s->s->len && +  if((s->s->len > 1) &&    !IS_SEP(INDEX_PCHARP(path, from-1)) &&    IS_SEP(LAST_PUSHED()))    s->s->len--;