Roxen.git/
server/
modules/
filesystems/
filesystem.pike
Branch:
Tag:
Non-build tags
All tags
No tags
1998-04-24
1998-04-24 09:14:26 by Per Hedbor <ph@opera.com>
da9e9f4ea70a0cd5f1868c6239d6f927e20eeea5 (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
5.2
Fix for NT
Rev: server/modules/filesystems/filesystem.pike:1.32
8:
inherit "roxenlib"; inherit "socket";
-
constant cvs_version= "$Id: filesystem.pike,v 1.
31
1998/04/
15
21
:
28
:
49
grubba
Exp $";
+
constant cvs_version= "$Id: filesystem.pike,v 1.
32
1998/04/
24
09
:
14
:
26
per
Exp $";
constant thread_safe=1;
298:
int size; string tmp; string oldf = f;
-
#ifdef
FILESYSTEM
_
DEBUG
-
perror
(
"FILESYSTEM:
Request
for
"+f+"\n"
);
+
#ifdef _
_NT__
+
if
(
f[-1]=='/')
f
=
f[..strlen(f
)
-2]
;
#endif size = FILE_SIZE( f = path + f );