This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/25094] A successful dlclose() seems to clear the last dynamic link error


https://sourceware.org/bugzilla/show_bug.cgi?id=25094

--- Comment #2 from Konrad Schwarz <konrad.schwarz at siemens dot com> ---
Wording in POSIX contradicts above comment.

If dlclose() (or any other dynamic linking function) were allowed
to reset the dynamic linking error indication, the wording would
be along the lines
"describes the last result that occurred during dynamic linking
processing, a null pointer if no error occurred".

The actual wording requires behavior similar to errno,
which is modified *only* when an error occurs --
and the application is required to reset errno to zero
to detect error in some cases.

Please reopen.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]