pike.git/
lib/
master.pike.in
Branch:
Tag:
Non-build tags
All tags
No tags
2004-01-12
2004-01-12 03:25:10 by Martin Nilsson <mani@lysator.liu.se>
aedfbc41aee37a59e5c02ba64fc0328fb405e03d (
10
lines) (+
7
/-
3
)
[
Show
|
Annotate
]
Branch:
7.9
Fixed a bug in describe_module.
Rev: lib/master.pike.in:1.323
6:
// Pike is distributed under GPL, LGPL and MPL. See the file COPYING // for more information. //
-
// $Id: master.pike.in,v 1.
322
2004/01/
10
23
:
18
:
35
nilsson Exp $
+
// $Id: master.pike.in,v 1.
323
2004/01/
12
03
:
25
:
10
nilsson Exp $
#pike __REAL_VERSION__
722:
} #ifdef __NT__
-
// Ugly kluge to work better with cygwin32
+
// Ugly kluge to work better with cygwin32
"/X:/" paths.
if(getenv("OSTYPE")=="cygwin32") { string tmp=fname[..1];
3068:
if (ret_obj) ret_obj[0] = mod; } else if (programp (mod)) { parent_fun = mod;
-
if (objectp (mod = objects[parent_fun]) && ret_obj) ret_obj[0] = mod;
+
// When running with debug we might be called before __INIT, so
+
// we have to check is objects exists before we use it.
+
if (
objects &&
objectp (mod = objects[parent_fun]) && ret_obj)
+
ret_obj[0] = mod;
} else return ""; // efun