Date: Tue, 25 Aug 1998 14:45:23 +0300 (IDT) From: Eli Zaretskii To: DJ Delorie cc: djgpp-workers AT delorie DOT com Subject: __dpmi_resize_dos_memory Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk This function appears to have a bug since day one (which tells you how many times it was called until now ;-). Here's the necessary patch: *** src/libc/dpmi/api/d0102.S~0 Sun Mar 12 04:20:34 1995 --- src/libc/dpmi/api/d0102.S Sun Aug 23 22:36:56 1998 *************** *** 5,12 **** FUNC(___dpmi_resize_dos_memory) ENTER ! movl ARG1, %ebx ! movl ARG2, %edx DPMIce(0x0102) xorl %eax,%eax --- 5,12 ---- FUNC(___dpmi_resize_dos_memory) ENTER ! movl ARG1, %edx ! movl ARG2, %ebx DPMIce(0x0102) xorl %eax,%eax