delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
X-Recipient: | djgpp AT delorie DOT com |
X-Original-DKIM-Signature: | v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; |
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: | |
mime-version; bh=wSk9hfAV+TG3GmGrbNc/IXodTpJhopO/RZXmC97fL8A=; b=Jj1QvuT9Ovgf | |
twh73bOxP7uAeCKrNzbdK82gk62NGrVHK/87oFiVj+069yoIK4DraRdIUjhIOseWlSGNbeb+t47Ci | |
cau2Ew/TpKxyAWge1g9KDRlz7nIRhfQZ9pfbqMRY3uOywZM49KG87pNSu/7n16Xhj2VSj4/37mJd4 | |
DEAAgKZclR3xnN1R8ioUeDnYbT0ziDIAATa+fSxwY/OXQA6sSFb21Qb9vcBZMHSRkjTacVJG9IVN3 | |
cZnG+okppqcugR6gmFTX4h17OL5qwUyv2/73mOY8/aZz66uW2Jpp32HRMYmrPO8kfKdueMFASpGl3 | |
oYRzRDR7TP8e9m6jjpygSQ==; | |
Date: | Sat, 11 May 2024 13:28:54 +0300 |
Message-Id: | <865xvk3amx.fsf@gnu.org> |
From: | "Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com> |
To: | Pali <pali AT pali DOT im> |
Cc: | djgpp AT delorie DOT com |
In-Reply-To: | <20240509183330.me2fulbrwcmugfz6@pali> (message from Pali on Thu, |
9 May 2024 20:33:30 +0200) | |
Subject: | Re: Fix return value of __dpmi_free_serialization_on_shared_memory |
References: | <20240509183330 DOT me2fulbrwcmugfz6 AT pali> |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> Date: Thu, 9 May 2024 20:33:30 +0200 > From: Pali <pali AT pali DOT im> > Cc: djgpp AT delorie DOT com > > Hello, I found an issue in d0d03.S file which implements function > __dpmi_free_serialization_on_shared_memory. > > When DPMI call success then djgpp function does not return 0, but some > non-zero value which indicates failure. > > According to DPMI 0d03h documentation this DPMI call does not set AX > register on success: https://www.delorie.com/djgpp/doc/dpmi/api/310d03.html > > Also DJGPP documentation says that this function returns 0 on success: > https://www.delorie.com/djgpp/doc/libc/libc_216.html > > Fix for this issue is simple, just clear EAX, like in other functions in > other d0d0*.S files. Thanks, installed.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |