sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit acca463813ab252ce7beff7090f1905e2e0f46fe
parent 9a176e4011412d856c37add360172dac52a1fc4c
Author: sin <sin@2f30.org>
Date:   Wed Oct  7 10:26:04 +0100

If multiple modes are supplied to flock(1), the last one wins

Diffstat:
flock.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flock.c b/flock.c @@ -31,7 +31,7 @@ main(int argc, char *argv[]) flags = LOCK_UN; break; case 'x': - /* for compat */ + flags = LOCK_EX; break; default: usage();