Re: file lock() and share.exe

Bart Oldeman
2003-09-12T10:21:20Z

On Thu, 11 Sep 2003, John Charlton wrote:

> I have a dos application compiled with djgpp compiler in dosemu. A call to
> the lock() function which works in native freedos (beta 8) always returns -1
> (failed) in dosemu. I first used dosemu 1.0.2.0 which installs with SuSE
> Linux 8.2 distribution. I just installed dosemu-1.1.5 and observe the exact
> same behavior. The freedos version used with dosemu-1.1.5 is:
> FreeDOS kernel version 1.1.24c (Build 2024c) [Jun 10 2001 22:25:01]

you'll need to upgrade your freedos kernel. Replace your kernel.sys with
v. 2031 at http://freedos.sourceforge.net (fat16/32 doesn't matter).

Beware of "unzip" and uppercase: use "unzip -L" otherwise you end up with
KERNEL.SYS and kernel.sys.

share.exe has absolutely no effect on the "network drives" (from
lredir) that DOSEMU uses by default.

Bart