]> sourceware.org Git - glibc.git/commit
x86: Don't make 2 calls to dlerror () in a row
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 1 Feb 2020 13:43:34 +0000 (05:43 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 1 Feb 2020 13:43:34 +0000 (05:43 -0800)
commit635d6fae03257129b4672591b700a495cb6cb6c7
tree6362ccb02eccc6303ab96a69c2db071aff01b0b2
parentd8775136b5830394d50c98997983b96a236629bf
x86: Don't make 2 calls to dlerror () in a row

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.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
sysdeps/x86/tst-cet-legacy-5.c
sysdeps/x86/tst-cet-legacy-6.c
This page took 0.043189 seconds and 5 git commands to generate.