Re: LockFile() and UnlockFile() are working

2003-03-22 Thread Paul McNett
On Saturday 22 March 2003 12:15 pm, Paul McNett wrote: > However, hosting the database on Linux, accessed by Linux/Wine directly > at /tmp/db.dbf and by Windows over samba, the behavior is not correct. > It seems that instead of a range lock, a complete file lock is > propogated, and it also seem

Re: LockFile() and UnlockFile() are working

2003-03-22 Thread Paul McNett
On Friday 21 March 2003 09:21 pm, Alexandre Julliard wrote: > It's quite possible that there are still bugs in the implementation. > One thing to test would be with two clients running on the same > machine, so that they use the same wineserver; this way all locking > will be done internally witho

LockFile() and UnlockFile() are working

2003-03-22 Thread Eric
, March 21, 2003 4:34 PM Subject: Re: LockFile() and UnlockFile() are working > Hi John K. Hohm, > > On Friday 21 March 2003 12:15 pm, John K. Hohm wrote: > > > > This resolution will make a ton of business apps based on desktop > > > database software that much closer

Re: LockFile() and UnlockFile() are working

2003-03-21 Thread Alexandre Julliard
Paul McNett <[EMAIL PROTECTED]> writes: > Sorry for being thick (I'm sure this is a stupid question). Is there a way > I can test on the same machine with two different wineservers (can I have > more than one wineserver running on the same machine)? If possible, this > would force Unix locks,

Re: LockFile() and UnlockFile() are working

2003-03-21 Thread Paul McNett
On Friday 21 March 2003 09:21 pm, Alexandre Julliard wrote: > It's quite possible that there are still bugs in the implementation. > One thing to test would be with two clients running on the same > machine, so that they use the same wineserver; This seems to work correctly and consistently, alt

Re: LockFile() and UnlockFile() are working

2003-03-21 Thread Alexandre Julliard
Paul McNett <[EMAIL PROTECTED]> writes: > So... my question to those that understand this stuff much better than I > do... what is still missing? Is it ReadFile() that was mentioned by John > K. Hohm earlier? It's quite possible that there are still bugs in the implementation. One thing to tes

Re: LockFile() and UnlockFile() are working

2003-03-21 Thread Paul McNett
On Friday 21 March 2003 05:52 pm, Alexandre Julliard wrote: > Yes, the problem is that the smbfs Linux filesystem doesn't propagate > locks. So you have to make sure that Wine is accessing the files > through NFS, not through smbfs. As long as the server is a Linux > machine this shouldn't be a pr

Re: LockFile() and UnlockFile() are working

2003-03-21 Thread Tony Lambregts
Paul McNett wrote: > On Friday 21 March 2003 05:07 pm, Bill Medland wrote: > > >> The Samba server does the right thing, so host the file on unix/linux. > > > Ok, let me get this straight. If I host the file on Linux using Samba, and > connect to it using mixed Windows and Linux/Wine clients, the

Re: LockFile() and UnlockFile() are working

2003-03-21 Thread Alexandre Julliard
Paul McNett <[EMAIL PROTECTED]> writes: > So... where is the failing exactly? Windows SMB clients connecting to > Windows SMB servers respect locks just fine. Windows SMB clients > connecting to Linux Samba shares respect locks just fine (I've been doing > this for years). Is the problem wit

Re: LockFile() and UnlockFile() are working

2003-03-21 Thread Paul McNett
On Friday 21 March 2003 04:59 pm, Alexandre Julliard wrote: > Actually if you mount with the right options and set the right > permissions on the file, mandatory locking should work. That's the > theory though, I haven't tested it... Ok I'll test this out. Anyone know what options I need to moun

Re: LockFile() and UnlockFile() are working

2003-03-21 Thread Paul McNett
On Friday 21 March 2003 05:07 pm, Bill Medland wrote: > The Samba server does the right thing, so host the file on unix/linux. Ok, let me get this straight. If I host the file on Linux using Samba, and connect to it using mixed Windows and Linux/Wine clients, the locking should be respected al

Re: LockFile() and UnlockFile() are working

2003-03-21 Thread Bill Medland
On March 21, 2003 04:59 pm, Alexandre Julliard wrote: > Paul McNett <[EMAIL PROTECTED]> writes: > > I just confirmed... while locking seems to work if two instances of > > Visual Foxpro are running on Wine on the same machine, it DOES NOT work > > over the network. I had one instance on Wine and o

Re: LockFile() and UnlockFile() are working

2003-03-21 Thread Alexandre Julliard
Paul McNett <[EMAIL PROTECTED]> writes: > I just confirmed... while locking seems to work if two instances of Visual > Foxpro are running on Wine on the same machine, it DOES NOT work over the > network. I had one instance on Wine and one instance on WinNT. Both > instances were interacting w

Re: LockFile() and UnlockFile() are working

2003-03-21 Thread Bill Medland
On March 19, 2003 03:30 pm, Tony Lambregts wrote: > Paul McNett wrote: > > As of yesterday, 3/18/2003, LockFile() and UnlockFile() are now > > implemented, and seem to be working perfectly on my end, testing with the > > Visual FoxPro native functions of flock(), rlock(), and unlock(). > > > > This

Re: LockFile() and UnlockFile() are working

2003-03-21 Thread Bill Medland
On March 21, 2003 04:34 pm, Paul McNett wrote: > Hi John K. Hohm, > > On Friday 21 March 2003 12:15 pm, John K. Hohm wrote: > > > This resolution will make a ton of business apps based on desktop > > > database software that much closer to working. snip > I just confirmed... while locking seems t

Re: LockFile() and UnlockFile() are working

2003-03-21 Thread Paul McNett
Hi John K. Hohm, On Friday 21 March 2003 12:15 pm, John K. Hohm wrote: > > This resolution will make a ton of business apps based on desktop > > database software that much closer to working. > I'm not so sure. I expect most database software depends on the > mandatory nature of LockFile(), i.

Re: LockFile() and UnlockFile() are working

2003-03-21 Thread John K. Hohm
> This resolution will make a ton of business apps based on desktop database > software that much closer to working. I'm not so sure. I expect most database software depends on the mandatory nature of LockFile(), i.e. that a ReadFile() or WriteFile() from another process on a locked region fai

Re: LockFile() and UnlockFile() are working

2003-03-20 Thread Tony Lambregts
Fabian Cenedese wrote: Yeah when I saw that I let out a loud WOOHOO, My wife asked me what it was about,.so I had to explain. This is BIG. It seemed to me that there should have been a parade and fireworks involved with this announcement. Oh well... It's still cool... Thanks Alexandre. For those

Re: LockFile() and UnlockFile() are working

2003-03-20 Thread Tony Lambregts
Mike Hearn wrote: Yeah when I saw that I let out a loud WOOHOO, My wife asked me what it was about,.so I had to explain. This is BIG. It seemed to me that there should have been a parade and fireworks involved with this announcement. Oh well... It's still cool... Thanks Alexandre. For those wh

Re: LockFile() and UnlockFile() are working

2003-03-20 Thread Paul McNett
On Thursday 20 March 2003 01:25 am, Mike Hearn wrote: > > Yeah when I saw that I let out a loud WOOHOO, My wife asked me what it > > was about,.so I had to explain. This is BIG. It seemed to me that there > > should have been a parade and fireworks involved with this > > announcement. Oh well... I

Re: LockFile() and UnlockFile() are working

2003-03-20 Thread Jeremy White
You have to have this in order to credibly support Microsoft Access... Cheers, Jer Mike Hearn wrote: Yeah when I saw that I let out a loud WOOHOO, My wife asked me what it was about,.so I had to explain. This is BIG. It seemed to me that there should have been a parade and fireworks involved w

Re: LockFile() and UnlockFile() are working

2003-03-20 Thread Fabian Cenedese
>> Yeah when I saw that I let out a loud WOOHOO, My wife asked me what it was >> about,.so I had to explain. This is BIG. It seemed to me that there should >> have been a parade and fireworks involved with this announcement. Oh well... >> It's still cool... Thanks Alexandre. > >For those who ha

Re: LockFile() and UnlockFile() are working

2003-03-20 Thread Mike Hearn
> Yeah when I saw that I let out a loud WOOHOO, My wife asked me what it was > about,.so I had to explain. This is BIG. It seemed to me that there should > have been a parade and fireworks involved with this announcement. Oh well... > It's still cool... Thanks Alexandre. For those who haven't f

Re: LockFile() and UnlockFile() are working

2003-03-19 Thread Tony Lambregts
Paul McNett wrote: As of yesterday, 3/18/2003, LockFile() and UnlockFile() are now implemented, and seem to be working perfectly on my end, testing with the Visual FoxPro native functions of flock(), rlock(), and unlock(). This resolution will make a ton of business apps based on desktop databas

LockFile() and UnlockFile() are working

2003-03-19 Thread Paul McNett
As of yesterday, 3/18/2003, LockFile() and UnlockFile() are now implemented, and seem to be working perfectly on my end, testing with the Visual FoxPro native functions of flock(), rlock(), and unlock(). This resolution will make a ton of business apps based on desktop database software that mu