Remove the TODO markers for #81 as this work will be done in a separate branch.

This commit is contained in:
Andrew Wood
2025-10-17 17:52:33 +01:00
parent e59452d765
commit 61021eab6b
2 changed files with 0 additions and 3 deletions
-2
View File
@@ -520,11 +520,9 @@ struct pvwatchfd_s {
off_t size; /* size of whole file, 0 if unknown */
off_t position; /* position last seen at */
struct timespec start_time; /* time we started watching the fd */
struct timespec last_active; /* time the fd was last seen open (TODO, #81) */
pid_t watch_pid; /* PID to watch */
int watch_fd; /* fd to watch */
bool displayable; /* false if not displayable */
bool inactive; /* true if the fd is now closed (TODO, #81) */
bool unused; /* true if free for re-use */
};
typedef struct pvwatchfd_s *pvwatchfd_t;
-1
View File
@@ -712,7 +712,6 @@ int pv_watchfd_loop(pvstate_t state)
int fd; /* watched fd, or -1 for all */
pvwatchfd_t info_array; /* watch information for each fd */
int array_length; /* length of watch info array */
/* TODO: "finished but not time to stop showing" flag for #81 */
bool finished; /* "PID:FD": fd closed; or PID gone */
} *watching;
unsigned int watch_idx;