Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Aug 2007 10:12:48 -0700
From:      Alfred Perlstein <alfred@freebsd.org>
To:        Dag-Erling Smorgrav <des@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/tools/regression/lib/libutil Makefile test-flopen.c test-flopen.t
Message-ID:  <20070803171248.GZ92956@elvis.mu.org>
In-Reply-To: <200708031129.l73BTnEs077247@repoman.freebsd.org>
References:  <200708031129.l73BTnEs077247@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Just a guess, it may be because flock locks aren't POSIX afaik,
so if you have two copies of the same descriptor open and close
one you'll lose your fcntl lock, but not your flock lock.

-Alfred

* Dag-Erling Smorgrav <des@FreeBSD.org> [070803 04:29] wrote:
> des         2007-08-03 11:29:49 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     tools/regression/lib/libutil Makefile 
>   Added files:
>     tools/regression/lib/libutil test-flopen.c test-flopen.t 
>   Log:
>   Add regression tests for flopen(3).
>   
>   Approved by:    re (blanket)
>   
>   Revision  Changes    Path
>   1.2       +1 -1      src/tools/regression/lib/libutil/Makefile
>   1.1       +176 -0    src/tools/regression/lib/libutil/test-flopen.c (new)
>   1.1       +12 -0     src/tools/regression/lib/libutil/test-flopen.t (new)

-- 
- Alfred Perlstein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070803171248.GZ92956>