[PATCH] x86: Don't make 2 calls to dlerror () in a row

H.J. Lu hjl.tools@gmail.com
Fri Jan 17 19:35:00 GMT 2020


We shouldn't make 2 calls to dlerror () in a row since the first call
will clear the error.  We should just use the return value from the
first call.

Tested on Linux/x86-64.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-x86-Don-t-make-2-calls-to-dlerror-in-a-row.patch
Type: text/x-patch
Size: 1418 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20200117/637da399/attachment.bin>


More information about the Libc-alpha mailing list