"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "meta.c" between
bmake-20200205.tar.gz and bmake-20200212.tar.gz

About: bmake a BSD make tool (derived from NetBSD’s make).

meta.c  (bmake-20200205):meta.c  (bmake-20200212)
skipping to change at line 1689 skipping to change at line 1689
void void
meta_compat_parent(pid_t child) meta_compat_parent(pid_t child)
{ {
int outfd, metafd, maxfd, nfds; int outfd, metafd, maxfd, nfds;
char buf[BUFSIZ+1]; char buf[BUFSIZ+1];
fd_set readfds; fd_set readfds;
meta_job_parent(NULL, child); meta_job_parent(NULL, child);
close(childPipe[1]); /* child side */ close(childPipe[1]); /* child side */
outfd = childPipe[0]; outfd = childPipe[0];
#ifdef USE_FILEMON
metafd = Mybm.filemon ? filemon_readfd(Mybm.filemon) : -1; metafd = Mybm.filemon ? filemon_readfd(Mybm.filemon) : -1;
#else
metafd = -1;
#endif
maxfd = -1; maxfd = -1;
if (outfd > maxfd) if (outfd > maxfd)
maxfd = outfd; maxfd = outfd;
if (metafd > maxfd) if (metafd > maxfd)
maxfd = metafd; maxfd = metafd;
while (outfd != -1 || metafd != -1) { while (outfd != -1 || metafd != -1) {
FD_ZERO(&readfds); FD_ZERO(&readfds);
if (outfd != -1) { if (outfd != -1) {
FD_SET(outfd, &readfds); FD_SET(outfd, &readfds);
 End of changes. 2 change blocks. 
0 lines changed or deleted 4 lines changed or added

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