From 25f7fe9b7710de2122817856f6aa3ad32666d3dc Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 13 Jul 1988 12:51:57 +0000 Subject: [PATCH] fix: strhp should do brk system call --- mach/i86/libem/strhp.s | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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: -- 2.34.1