pike.git/
lib/
master.pike.in
Branch:
Tag:
Non-build tags
All tags
No tags
2011-04-10
2011-04-10 18:00:24 by Marcus Comstedt <marcus@mc.pp.se>
fea47d917bc875b25ca939e3fe130f41fd41be92 (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
Fixed unbalanced use of INC/DEC_RESOLV_MSG_DEPTH() in dirnode()->low_ind()
2397:
int `!() { resolv_debug ("dirnode(%O)->module_checker()->`!()\n",dirname);
-
INC_RESOLV_MSG_DEPTH();
+
if (mixed err = catch { // Look up module.
2409:
cache=([]); _cache_full=0; }
-
DEC_RESOLV_MSG_DEPTH();
+
resolv_debug("dirnode(%O)->module_checker()->`!() => %s\n", dirname, !module ? "doesn't exist" : "exists"); return !module;
2422:
// "Cannot call functions in unfinished objects." // Pretend not to exist for now...
-
DEC_RESOLV_MSG_DEPTH();
+
resolv_debug("dirnode(%O)->module_checker()->`!() => failure, doesn't exist\n", dirname); return 1;
2443:
{ array(string) paths;
+
INC_RESOLV_MSG_DEPTH();
+
if (!(paths = file_paths[index])) { DEC_RESOLV_MSG_DEPTH(); resolv_debug("dirnode(%O)->ind(%O) => no file match\n",
2558:
else resolv_debug ("dirnode(%O)->ind(%O) => no module\n", dirname, index);
+
DEC_RESOLV_MSG_DEPTH();
return low_ind(index); }