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

5:   \*/   /**/   #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.347 2001/09/07 21:20:17 hubbe Exp $"); + RCSID("$Id: builtin_functions.c,v 1.348 2001/09/25 03:15:32 hubbe Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"
1112:    if(IS_SEP(s[0]) && IS_SEP(s[1]))    {    int l; -  for(l=2;isalpha(s[l]);l++); +  for(l=2;s[l] && !IS_SEP(s[l]);l++);    return l;    }