pike.git/
src/
combine_path.h
Branch:
Tag:
Non-build tags
All tags
No tags
2001-06-11
2001-06-11 11:49:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>
279f6a5be7ab2b49fa8f17529976d2d88e802962 (
5
lines) (+
4
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Compatibility fix.
Rev: src/combine_path.h:1.7
1:
/*
-
* $Id: combine_path.h,v 1.
6
2001/06/
10
17
:
07
:
33
grubba Exp $
+
* $Id: combine_path.h,v 1.
7
2001/06/
11
11
:
49
:
47
grubba Exp $
* * Combine path template. *
93:
if(s->s->len && !IS_SEP(LAST_PUSHED())) PUSH('/');
+
if (!len) return;
+
/* Remove initial "./" if any. */ if(s->s->len==2) {