From 07b74da21af645f881eeffb924e19209be120993 Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Sun, 14 Dec 2025 13:07:23 +1100 Subject: [PATCH] Corrected REALLOC to use remap; many thanks to emanulel6 at board.flatassembler.net --- stdio.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdio.asm b/stdio.asm index 45a25f6..e1af3f1 100644 --- a/stdio.asm +++ b/stdio.asm @@ -23,7 +23,7 @@ ;; size_t new_size, int flags, ... /* void *new_address */); pushr rsi push 1 ; MREMAP_MAYMOVE - jmp sys_mmap_asm ; exit via sys_mmap + jmp sys_mremap_asm ; exit via sys_mremap ;;; ======================================== ;;; Input stream handling. -- 2.47.2