Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make meta_compat_parent check for USE_FILEMON



details:   https://anonhg.NetBSD.org/src/rev/44efa666a72d
branches:  trunk
changeset: 744770:44efa666a72d
user:      sjg <sjg%NetBSD.org@localhost>
date:      Wed Feb 12 16:50:37 2020 +0000

description:
meta_compat_parent check for USE_FILEMON

patch from Soeren Tempel

diffstat:

 usr.bin/make/meta.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r d6084ac152d6 -r 44efa666a72d usr.bin/make/meta.c
--- a/usr.bin/make/meta.c       Wed Feb 12 16:08:19 2020 +0000
+++ b/usr.bin/make/meta.c       Wed Feb 12 16:50:37 2020 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: meta.c,v 1.78 2020/02/06 01:13:19 sjg Exp $ */
+/*      $NetBSD: meta.c,v 1.79 2020/02/12 16:50:37 sjg Exp $ */
 
 /*
  * Implement 'meta' mode.
@@ -1686,7 +1686,11 @@
     meta_job_parent(NULL, child);
     close(childPipe[1]);                       /* child side */
     outfd = childPipe[0];
+#ifdef USE_FILEMON
     metafd = Mybm.filemon ? filemon_readfd(Mybm.filemon) : -1;
+#else
+    metafd = -1;
+#endif
     maxfd = -1;
     if (outfd > maxfd)
            maxfd = outfd;



Home | Main Index | Thread Index | Old Index