This commit is contained in:
@@ -157,7 +157,6 @@ static bool opts_watchfd_add_item(opts_t opts, pid_t pid, int fd)
|
||||
*/
|
||||
static bool opts_watchfd_processname(opts_t opts, const char *process_name)
|
||||
{
|
||||
/* TODO: document "-d =NAME" syntax */
|
||||
/* TODO: read from pgrep, without using popen() or system() */
|
||||
return false;
|
||||
}
|
||||
@@ -173,8 +172,6 @@ static bool opts_watchfd_listfile(opts_t opts, const char *filename)
|
||||
char buffer[1024]; /* flawfinder: ignore */
|
||||
unsigned int linenumber;
|
||||
|
||||
/* TODO: document "-d @FILE" syntax */
|
||||
|
||||
/*
|
||||
* flawfinder: buffer is zeroed before each use, and fgets() is
|
||||
* passed one less than its size so the string functions in the loop
|
||||
|
||||
Reference in New Issue
Block a user