From: ceriel Date: Wed, 13 Jul 1988 12:51:57 +0000 (+0000) Subject: fix: strhp should do brk system call X-Git-Tag: release-5-5~3052 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=25f7fe9b7710de2122817856f6aa3ad32666d3dc;p=ack.git fix: strhp should do brk system call --- diff --git a/mach/i86/libem/strhp.s b/mach/i86/libem/strhp.s index 4e89c6346..601f4676b 100644 --- a/mach/i86/libem/strhp.s +++ b/mach/i86/libem/strhp.s @@ -12,8 +12,10 @@ add ax,02000 and ax,~0777 mov (.limhp),ax - cmp ax,sp - jae 2f + push ax + call _brk + or ax,ax + jne 2f 1: jmp bx 2: