diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2020-05-28 01:31:31 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2020-05-28 01:31:31 +0200 |
commit | 82a6868991472fc0b95981c3f116f5583254fa06 (patch) | |
tree | 9db3c2d8f43628985db81ff5915581b21d925869 /src/blogc-make/exec-native.c | |
parent | c2d178d0f089d4d5f9758de5bb2b8a39a4857f27 (diff) | |
download | blogc-82a6868991472fc0b95981c3f116f5583254fa06.tar.gz blogc-82a6868991472fc0b95981c3f116f5583254fa06.tar.bz2 blogc-82a6868991472fc0b95981c3f116f5583254fa06.zip |
make: close fds after copying static files
Diffstat (limited to 'src/blogc-make/exec-native.c')
-rw-r--r-- | src/blogc-make/exec-native.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/blogc-make/exec-native.c b/src/blogc-make/exec-native.c index 179216a..0f5f7b8 100644 --- a/src/blogc-make/exec-native.c +++ b/src/blogc-make/exec-native.c @@ -84,6 +84,9 @@ bm_exec_native_cp(bm_filectx_t *source, bm_filectx_t *dest, bool verbose) } while (nread > 0); } + close(fd_from); + close(fd_to); + return 0; } |