Branch: Tag:

2001-09-25

2001-09-25 03:15:33 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

combine_path_nt should now handle "//foo.gif" properly, fix for [bug 1247 (#1247)]

Rev: src/builtin_functions.c:1.348
Rev: src/combine_path.h:1.4

1:   /* -  * $Id: combine_path.h,v 1.3 2001/06/11 11:50:27 grubba Exp $ +  * $Id: combine_path.h,v 1.4 2001/09/25 03:15:33 hubbe Exp $    *    * Combine path template.    *
35:    if(IS_SEP(c0) && IS_SEP(c1))    {    int l; -  for(l=2;isalpha(INDEX_PCHARP(s,l));l++); +  for(l=2;INDEX_PCHARP(s,l) && !IS_SEP(INDEX_PCHARP(s,l));l++);    return l;    }