diff options
author | Mayer Leonard <leonard.mayer@esg.de> | 2023-06-26 14:06:43 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2023-06-26 14:40:41 +0200 |
commit | 1be4d13ed24538d1117964d62ae8b5aaa5783d0d (patch) | |
tree | 2bfdbfbb25058b13ca6453f70e7f961f69d7a7b8 | |
parent | d2f9517377f5652b4217a6e119205450d44b1e30 (diff) | |
download | redo-c-1be4d13ed24538d1117964d62ae8b5aaa5783d0d.tar.gz redo-c-1be4d13ed24538d1117964d62ae8b5aaa5783d0d.tar.xz redo-c-1be4d13ed24538d1117964d62ae8b5aaa5783d0d.zip |
Closes: #33 [via git-merge-pr]
-rw-r--r-- | redo.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/redo.c b/redo.c index 2a82dc9..44948b1 100644 --- a/redo.c +++ b/redo.c @@ -902,13 +902,8 @@ record_deps(int targetc, char *targetv[]) fchdir(dir_fd); - for (targeti = 0; targeti < targetc; targeti++) { - fd = open(targetv[targeti], O_RDONLY); - if (fd < 0) - continue; + for (targeti = 0; targeti < targetc; targeti++) write_dep(dep_fd, targetv[targeti]); - close(fd); - } } int |