"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libpromises/pipes_unix.c" between
cfengine-3.15.3.tar.gz and cfengine-3.15.4.tar.gz

About: CFEngine is a configuration management system for configuring and maintaining Unix-like computers (using an own high level policy language). Community version.

pipes_unix.c  (cfengine-3.15.3):pipes_unix.c  (cfengine-3.15.4)
skipping to change at line 42 skipping to change at line 42
#include <eval_context.h> #include <eval_context.h>
#include <file_lib.h> #include <file_lib.h>
#include <signals.h> #include <signals.h>
#include <string_lib.h> #include <string_lib.h>
static bool CfSetuid(uid_t uid, gid_t gid); static bool CfSetuid(uid_t uid, gid_t gid);
static int cf_pwait(pid_t pid); static int cf_pwait(pid_t pid);
static pid_t *CHILDREN = NULL; /* GLOBAL_X */ static pid_t *CHILDREN = NULL; /* GLOBAL_X */
static int MAX_FD = 128; /* GLOBAL_X */ /* Max number of simultaneous pipes */ static int MAX_FD = 2048; /* GLOBAL_X */ /* Max number of simultaneous pipes */
static void ChildrenFDInit() static void ChildrenFDInit()
{ {
ThreadLock(cft_count); ThreadLock(cft_count);
if (CHILDREN == NULL) /* first time */ if (CHILDREN == NULL) /* first time */
{ {
CHILDREN = xcalloc(MAX_FD, sizeof(pid_t)); CHILDREN = xcalloc(MAX_FD, sizeof(pid_t));
} }
ThreadUnlock(cft_count); ThreadUnlock(cft_count);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)