New version of mock working (I think)

Clark Williams williams at redhat.com
Tue Jun 27 22:58:53 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael_E_Brown at Dell.com wrote:
> <aside>Sorry for the format of the posts today, forced to use stupid
webmail which is slow and ugly.</aside>
>
> How about the old unix everything is a file concept? We could just have
a --status_file parameter that could take a file or a named pipe as
input, it would look the same to us, whether it was a pipe or a regular
file. Either that, or we could even have a --status_fd parameter for
people that might want to pre-open a file and pass it to us as an fd
when they fork/exec.
>
> We might want to consider removing the open()/close() and instead just
flush() it. We still shouldnt really need locking.

I'd just as soon put the flock's around the write for explicitness's
sake.  It's an import of fcntl and then two calls to fcntl.flock()...

Clark

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFEobgsHyuj/+TTEp0RAsztAJ9nezD09sNR0lyA/BBp3kFJHgji0ACg2utd
j598GRugOIiLB/9iYBTWLCU=
=X3dv
-----END PGP SIGNATURE-----




More information about the Fedora-buildsys-list mailing list