pike.git
/
src
/
combine_path.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/combine_path.h:1:
/*
-
* $Id: combine_path.h,v 1.
5
2001/06/10
16
:
34
:
57
grubba Exp $
+
* $Id: combine_path.h,v 1.
6
2001/06/10
17
:
07
:
33
grubba Exp $
* * Combine path template. * */ #undef IS_SEP #undef IS_ABS #undef IS_ROOT #undef F_COMBINE_PATH #undef APPEND_PATH
pike.git/src/combine_path.h:142:
break; tmp++; } else if (IS_SEP(index_shared_string(s->s, 0))) { tmp++; } if ((tmp+1 < s->s->len) && (index_shared_string(s->s,tmp)=='.') && (index_shared_string(s->s,tmp+1)=='.') && ( (tmp+2 == s->s->len) ||
-
IS_SEP(index_shared_string(s->s,tmp+2)))
+
IS_SEP(index_shared_string(s->s,tmp+2)))
)
break; from+=2; s->s->len=tmp; s->known_shift=0; #if COMBINE_PATH_DEBUG > 0 s->s->str[s->s->len]=0; fprintf(stderr,"combine_path(1), TO: %s\n",s->s->str);