On 6/18/2010 10:50 AM, Charles Wilson wrote: > although oddly, loadlibrary sets CANNOT_OPEN instead of FILE_NOT_FOUND > (loadlibary.c:vmopen): > > 232 if (!module) > 233 LOADLIB_SETERROR (CANNOT_OPEN); > 234 else if (cur) > 235 { > 236 LT__SETERROR (CANNOT_OPEN); > 237 module = 0; > 238 } > > I think there should be an earlier check for !module @ 206, and THAT one > should set FILE_NOT_FOUND. However, this isn't the cause of the current > problem.
Never mind this bit. We already know the file "exists", because access() called in find_handle_callback() told us that. CANNOT_OPEN is the correct value here. -- Chuck