]> mj.ucw.cz Git - libucw.git/commit
Daemon: Correct locking
authorMartin Mares <mj@ucw.cz>
Tue, 17 Jul 2012 13:47:37 +0000 (15:47 +0200)
committerMartin Mares <mj@ucw.cz>
Tue, 17 Jul 2012 13:47:37 +0000 (15:47 +0200)
commite01a004c6470a98f710b724571cd8aafc19003be
tree852e87034c24ca5fdb24bc310582e516228e06bb
parenteec6d2c37cbcbf9c350aa4ca80e5a316e5144087
Daemon: Correct locking

We have to use flock() instead of fcntl locks, because we want to
share the lock on a shared file descriptor.
ucw/daemon.c