From a437f594608cd307ca2c25871b79966de54cc93f Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Sat, 21 Aug 2010 01:54:30 +0000 Subject: gf_system: fork/exec instead of system * most of the glusterd 'system()' are replaced with 'gf_system()' Signed-off-by: Amar Tumballi Signed-off-by: Anand V. Avati BUG: 1292 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1292 --- libglusterfs/src/common-utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libglusterfs/src/common-utils.h') diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h index ab230993a..93d62f6cb 100644 --- a/libglusterfs/src/common-utils.h +++ b/libglusterfs/src/common-utils.h @@ -328,5 +328,7 @@ int gf_unlockfd (int fd); int get_checksum_for_file (int fd, uint32_t *checksum); int log_base2 (unsigned long x); +int gf_system (const char *command); + #endif /* _COMMON_UTILS_H */ -- cgit