On Wed, 25 Jul 2007 21:48:31 +0200 Goran Mekić <[EMAIL PROTECTED]> wrote: > On Wed, 25 Jul 2007 18:29:03 +0100 > Ciaran McCreesh <[EMAIL PROTECTED]> wrote: > > Not the program. The system call. > > [EMAIL PROTECTED] ~ $ which flock > /usr/bin/flock > [EMAIL PROTECTED] ~ $ file /usr/bin/flock > /usr/bin/flock: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), > for GNU/Linux 2.6.9, dynamically linked (uses shared libs), stripped > [EMAIL PROTECTED] ~ $ > > It's a program, to me. Yeah, it just uses lockf(3) system call, but > it is a program
The program isn't how we'd do it for all sorts of reasons (it's not correct, reliable or error-safe). If we were to introduce locking, we'd make fetchers output to stdout instead of a file and move the file handling into the C++ code. -- Ciaran McCreesh
signature.asc
Description: PGP signature
_______________________________________________ paludis-user mailing list [email protected] http://lists.pioto.org/mailman/listinfo/paludis-user
