Date: Thu, 9 May 2024 20:33:30 +0200
From: Pali <[email protected]>
Cc: [email protected]
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.
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 04:33:18 |
| Calls: | 12,099 |
| Calls today: | 7 |
| Files: | 15,003 |
| Messages: | 6,517,894 |