From: Sergey Suleymanov <solt@eatpbank.ru>
To: Linux-MSDOS Mailing list <linux-msdos@vger.kernel.org>
Subject: Re: CLIPPER LOCKS
Date: 17 Jun 2002 09:45:53 +0400 [thread overview]
Message-ID: <87hek2fofi.fsf@eatpbank.ru> (raw)
In-Reply-To: <02061412210400.01276@anderson.cdc.net>
>>>>> Anderson Pereira Ataides writes:
Anderson> Hi, I've got an application develop using Clipper 5.01 and
Anderson> I'm having trouble with locks.
Anderson> How can I solve this problem? Is it a dosemu bug?
Can you try this fix?
diff -rubN dosemu-1.1.3/src/dosext/mfs/mfs.c dosemu-1.1.3.my2/src/dosext/mfs/mfs.c
--- dosemu-1.1.3/src/dosext/mfs/mfs.c Tue Apr 23 15:16:39 2002
+++ dosemu-1.1.3.my2/src/dosext/mfs/mfs.c Mon May 6 10:18:53 2002
@@ -3795,6 +3866,7 @@
ret = fcntl (fd,F_SETLK,&larg);
Debug0((dbg_fd, "lock fd=%x rc=%x type=%x whence=%x start=%lx, len=%lx\n",
fd, ret, larg.l_type, larg.l_whence, larg.l_start,larg.l_len));
+ if (ret == -1) SETWORD(&(state->eax), ACCESS_DENIED);
return ret != -1 ? TRUE : FALSE;
}
break;
--
Sergey Suleymanov
next prev parent reply other threads:[~2002-06-17 5:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-14 15:21 CLIPPER LOCKS Anderson Pereira Ataides
2002-06-14 15:33 ` Matthew Nuzum
2002-06-14 18:00 ` Anderson Pereira Ataides
2002-06-17 5:45 ` Sergey Suleymanov [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-10-07 16:35 Anderson Pereira Ataides
2002-10-07 16:49 ` Oscar A. Valdez
[not found] ` <02100713562402.06214@anderson.cdc.net>
2002-10-07 17:12 ` Oscar A. Valdez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87hek2fofi.fsf@eatpbank.ru \
--to=solt@eatpbank.ru \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.