Re: Implementing file-locking *control* in DBD::File

2009-12-04 Thread H.Merijn Brand
On Fri, 4 Dec 2009 13:03:00 +0100, Jens Rehsack wrote: > 2009/12/4 H.Merijn Brand : > > On Fri, 4 Dec 2009 10:03:54 +0100, Jens Rehsack > > wrote: > > > >> 2009/12/3 H.Merijn Brand : > >> > Any objections to me committing below change? > >> > >> While the originator of this request updates his t

Re: Implementing file-locking *control* in DBD::File

2009-12-04 Thread Jens Rehsack
2009/12/4 H.Merijn Brand : > On Fri, 4 Dec 2009 10:03:54 +0100, Jens Rehsack > wrote: > >> 2009/12/3 H.Merijn Brand : >> > Any objections to me committing below change? >> >> While the originator of this request updates his ticket, maybe a smarter >> implementation is reasonable: >> >> I could mod

Re: Implementing file-locking *control* in DBD::File

2009-12-04 Thread H.Merijn Brand
On Fri, 4 Dec 2009 10:03:54 +0100, Jens Rehsack wrote: > 2009/12/3 H.Merijn Brand : > > Any objections to me committing below change? > > While the originator of this request updates his ticket, maybe a smarter > implementation is reasonable: > > I could modify S::S opentable () to request open

Re: Implementing file-locking *control* in DBD::File

2009-12-04 Thread Jens Rehsack
2009/12/3 H.Merijn Brand : > Any objections to me committing below change? While the originator of this request updates his ticket, maybe a smarter implementation is reasonable: I could modify S::S opentable() to request opening for reading/writing, so you could differ between LOCK_SH and LOCK_EX

Implementing file-locking *control* in DBD::File

2009-12-03 Thread H.Merijn Brand
Any objections to me committing below change? --8<--- --- DBI-svn/lib/DBD/File.pm 2009-12-03 17:47:15.0 +0100 +++ DBI-svn/lib/DBD/File.pm 2009-12-03 17:49:20.0 +0100 @@ -162,6 +162,7 @@ sub connect ($$;$$$) f_ext => 1, # file extension f_schema=