Roxen.git/
server/
modules/
graphics/
graphic_text.pike
Branch:
Tag:
Non-build tags
All tags
No tags
1998-06-02
1998-06-02 16:37:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>
835ed4c4d625be97a267aa62a318b6ea39849381 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
5.2
Now survives not having a cache_dir/.
Rev: server/modules/graphics/graphic_text.pike:1.128
1:
-
constant cvs_version="$Id: graphic_text.pike,v 1.
127
1998/
05
/
21
18
:
24
:
03
grubba Exp $";
+
constant cvs_version="$Id: graphic_text.pike,v 1.
128
1998/
06
/
02
16
:
37
:
33
grubba Exp $";
constant thread_safe=1; #include <module.h>
707:
void clean_cache_dir() { if(!sizeof(to_clean))
-
to_clean = get_dir(query("cache_dir"));
+
to_clean = get_dir(query("cache_dir"))
||({})
;
if(!sizeof(to_clean)) return; array st = file_stat(query("cache_dir")+to_clean[0]); int md;