package

simple and robust package manager
Log | Files | Refs | README

commit c480354624cdca89169d2fa099e38dc8a25d43f4
parent 397afb75354b6c00dd62372d8de585a25e66e669
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sat, 26 Jan 2019 00:28:39 +0100

no need to lock! :D

Diffstat:
Mpackage-build.c | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/package-build.c b/package-build.c @@ -11,7 +11,6 @@ #include "forkexec.h" #include "hier.h" #include "hier.h" -#include "lock.h" #include "log.h" #include "open.h" #include "package.h" @@ -186,8 +185,6 @@ main(int argc, char **argv) log_fatal_sys_6(101, "chdir ", pkg, "/", p.name, "/", p.ver); if ((x = open_read("source.tar")) == -1) log_fatal_sys_7(101, "open ", pkg, "/", p.name, "/", p.ver, "/source.tar"); - if (lock_exclusive(x) == -1) - log_fatal_sys_7(101, "flock ", pkg, "/", p.name, "/", p.ver, "/source.tar"); if (mkdir(id, 075) == -1 && errno != EEXIST) log_fatal_sys_8(101, "mkdir ", pkg, "/", p.name, "/", p.ver, "/", id); if (chdir(id) == -1)