Date: Wed, 5 Oct 2005 22:02:07 +0000 (UTC) From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/lockf lockf.c Message-ID: <200510052202.j95M27ic080078@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
csjp 2005-10-05 22:02:07 UTC
FreeBSD src repository
Modified files:
usr.bin/lockf lockf.c
Log:
Un-break handling of -t 0 which was broken in my previous commit.
Add a flags argument to wait_for_lock so that O_NONBLOCK can be
passed to open if a user doesn't want the open to sleep until the
lock becomes available.
Submitted by: Amir Shalem (partially modified)
Revision Changes Path
1.13 +6 -5 src/usr.bin/lockf/lockf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510052202.j95M27ic080078>
