From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Samek Subject: Re: dosemu-1.1.3.3 for testing Date: 19 Sep 2002 13:37:45 +0200 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <1032435466.1759.4.camel@localhost.localdomain> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii" To: Linux-MSDOS Mailing list Neither 1.1.3.3 nor 1.1.3.4 don't solves the locking problems with clipper apps. The behaviour is the same as before. Michal Samek On Ne, 2002-09-15 at 00:58, Bart Oldeman wrote: > Hi, > > a new prerelease is available at http://www.dosemu.org/testing > This includes the keyboard fixes, the 30 minutes in DOS EDIT problem, the > hlist fix (255 times "dir" gave problems), various other MFS (for > lredir'ed drives) changes, some DPMI PIC fixes and some of part of the > work to get non-suid-root IPX working. > > I also included Per's get PID and PPID patch and Clarence's patch to show > the current program in the xdos title bar if you run comcom.com. > > See the Changelog (in the patch) for other things and more details. > > It would be good to get some feedback from people who need locking (for > Clipper, FoxPro and friends) as I changed the file locking scheme to be > more like what DOS expects and also added a patch from Sergey. > > Especially if it is worse than before please tell me. > > If you still have problems with locking try the patch from Sergey and see > if it makes a difference. It should not go in until we understand the bit > fiddling however. > > Bart > > diff -ur dosemu-1.1.3.3/src/dosext/mfs/mfs.c dosemu-1.1.3.3.bart/src/dosext/mfs/mfs.c > --- dosemu-1.1.3.3/src/dosext/mfs/mfs.c Sun Aug 18 18:45:42 2002 > +++ dosemu-1.1.3.3.bart/src/dosext/mfs/mfs.c Sat Sep 14 18:32:38 2002 > @@ -3864,8 +3864,12 @@ > the top two bits are set. Shift the top ones by two bits. This > still allows OLE2 apps to operate, but should stop lockd from > dieing */ > +#if 0 > if ((larg.l_start & mask) != 0) > larg.l_start = (larg.l_start & ~mask) | ((larg.l_start & mask) >> 2); > +#else > + larg.l_start &= 0x7fffffff; > +#endif > > ret = fcntl (fd,F_SETLK,&larg); > Debug0((dbg_fd, "lock fd=%x rc=%x type=%x whence=%x start=%lx, len=%lx\n", > > > - > To unsubscribe from this list: send the line "unsubscribe linux-msdos" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html