Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladislavs Sokurenko <vladislavs.sokurenko@zabbix.com>2018-01-24 10:07:48 +0300
committerVladislavs Sokurenko <vladislavs.sokurenko@zabbix.com>2018-01-24 10:07:48 +0300
commit22fdf63031f0766015101caddd8d36f0f44c7552 (patch)
tree65d6a8f0a2640447df80f1f65ee363878c2878e6 /Makefile.am
parentcf8883117d86de2bdb2e475891fc197c5d280881 (diff)
.......... [ZBXNEXT-3581] wrap communication functions globally, since they are defined as global, fixed return code check for cpu interruptions
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 9f00c8b58d6..6e97b135156 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -130,11 +130,16 @@ WRAP_FS_FUNCS = \
WRAP_EXIT = \
-Wl,--wrap=exit
+WRAP_COMM_FUNCS = \
+ -Wl,--wrap=read \
+ -Wl,--wrap=connect
+
COMMON_WRAP_FUNCS = \
$(WRAP_DB_FUNCS) \
$(WRAP_IO_FUNCS) \
$(WRAP_FS_FUNCS) \
- $(WRAP_EXIT)
+ $(WRAP_EXIT) \
+ $(WRAP_COMM_FUNCS)
tests:
$(MAKE) $(AM_MAKEFLAGS) && \