Branch: Tag:

2016-02-07

2016-02-07 18:15:29 by Martin Nilsson <nilsson@fastmail.com>

Rewrote a few PIKE_DEBUG outputs.

310:    if ((code = NSCreateObjectFileImageFromFile(module_name,    &handle->image)) !=    NSObjectFileImageSuccess) { - #ifdef PIKE_DEBUG -  fprintf(stderr, "NSCreateObjectFileImageFromFile(\"%s\") failed with %d\n", +  DWERR("NSCreateObjectFileImageFromFile(\"%s\") failed with %d\n",    module_name, code); - #endif /* PIKE_DEBUG */ +     pike_dl_error = "NSCreateObjectFileImageFromFile() failed.";    dlclose(handle);    return NULL;