]> xenbits.xensource.com Git - libvirt.git/commit
cfg.mk: use a single regex for all non-reentrant functions
authorJán Tomko <jtomko@redhat.com>
Tue, 14 Jun 2016 12:27:51 +0000 (14:27 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 15 Jun 2016 13:00:56 +0000 (15:00 +0200)
commite26098a1f405eaf6e0b2d3386a84ee7154cd59ec
treec77676929a8faa6be7d530fc3e56f717d4ff515a
parente347e732bb71f247acd8d06a97de8035608ada98
cfg.mk: use a single regex for all non-reentrant functions

The prohibit_nonreentrant syntax-check rule spawns a new shell
for every non-reentrant function we know, to make it easier
to mention the function name in the error message, with the _r
appended.

Since the line with the offending function is already printed
and some of the functions on our list do not have a _r counterpart,
compile them into one big regex and use a more generic error message
to save time.
Makefile.nonreentrant
cfg.mk