bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

minor bug in objc-load.m: objc_load_module


From: Michael Scheibler
Subject: minor bug in objc-load.m: objc_load_module
Date: Tue, 28 Aug 2001 12:00:39 +0200

_objc_load_load_callback = loadCallback;
_objc_load_callback = objc_load_callback;
.
.
.
handle = __objc_dynamic_link(filename, 1, debugFilename);
if (handle == 0) {
 if (errorStream)
  __objc_dynamic_error(errorStream, "Error (objc-load)");
 return 1;  // _objc_load_callback is not reset!!
}
.
. // more "return 1"s coming
.
_objc_load_callback = 0; // only if successful
_objc_load_load_callback = 0;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]