From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Charlton Subject: file lock() and share.exe Date: Thu, 11 Sep 2003 21:43:55 -0400 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <200309112143.55541.j.d.charlton@ieee.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-msdos@vger.kernel.org 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] Without share.exe, the lock() return code is -1 and the dos error=14 (Share not loaded). With the share from (http://www.dosemu.org/bart/share.zip) loaded lock() still returns -1 with a different dos error errno=26 (No space on drive). I appreciate any help on this. I have read other postings on the 'share.exe' topic in this list, but have not seen a resolution to this problem. --John