From 53ab44c09899757127a288e34ae1b9faac94e329 Mon Sep 17 00:00:00 2001 From: Craig Leres Date: Sat, 4 Jun 2022 10:20:38 -0700 Subject: [PATCH] Remove child program check, it's probably wrong given the test failures it causes --- src/input/readers/raw/Raw.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/input/readers/raw/Raw.cc b/src/input/readers/raw/Raw.cc index a1be46bf9f..48594d0c57 100644 --- a/src/input/readers/raw/Raw.cc +++ b/src/input/readers/raw/Raw.cc @@ -610,9 +610,6 @@ bool Raw::DoUpdate() break; case MODE_STREAM: - // mode may not be used to execute child programs - assert(childpid == -1); - // Clear possible EOF condition if ( file ) clearerr(file.get()); @@ -620,16 +617,12 @@ bool Raw::DoUpdate() // check if the file has changed struct stat sb; if ( stat(fname.c_str(), &sb) == -1 ) - { // File was removed break; - } // Is it the same file? if ( sb.st_ino == ino && sb.st_dev == dev ) - { break; - } // File was replaced FILE* tfile;