mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-11 04:15:49 +00:00
Tighten up nonreentrant syntax-check.
We can slightly tighten up the regex's used to detect the use of nonreentrant functions. We can also check src/util/virterror.c by modifying a comment; I think it's worth it to get the additional coverage. Signed-off-by: Chris Lalancette <clalance@redhat.com>
This commit is contained in:
parent
b2af10cd49
commit
03b5dc14de
@ -1,10 +1,10 @@
|
|||||||
^gnulib/
|
^gnulib/
|
||||||
^po/
|
^po/
|
||||||
ChangeLog
|
^ChangeLog$
|
||||||
|
^ChangeLog-old$
|
||||||
^Makefile*
|
^Makefile*
|
||||||
^docs/
|
^docs/
|
||||||
^tests/
|
^tests/
|
||||||
^tools/virsh\.c
|
^tools/virsh\.c$
|
||||||
^tools/console\.c
|
^tools/console\.c$
|
||||||
^src/util/virterror\.c
|
|
||||||
^build-aux/
|
^build-aux/
|
||||||
|
@ -1157,7 +1157,7 @@ const char *virStrerror(int theerrno, char *errBuf, size_t errBufLen)
|
|||||||
return errBuf;
|
return errBuf;
|
||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
/* Mingw lacks strerror_r() and its strerror() is definitely not
|
/* Mingw lacks strerror_r and its strerror is definitely not
|
||||||
* threadsafe, so safest option is to just print the raw errno
|
* threadsafe, so safest option is to just print the raw errno
|
||||||
* value - we can at least reliably & safely look it up in the
|
* value - we can at least reliably & safely look it up in the
|
||||||
* header files for debug purposes
|
* header files for debug purposes
|
||||||
|
Loading…
Reference in New Issue
Block a user