projects
/
rrq
/
rrqforth.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07b74da
)
Correction to realloc: use required dummu argument
author
Ralph Ronnquist
<rrq@rrq.au>
Mon, 29 Dec 2025 06:07:45 +0000
(17:07 +1100)
committer
Ralph Ronnquist
<rrq@rrq.au>
Mon, 29 Dec 2025 06:07:45 +0000
(17:07 +1100)
Thanks (again) emanuele6.
stdio.asm
patch
|
blob
|
history
diff --git
a/stdio.asm
b/stdio.asm
index e1af3f1804cd52076f393252e3e4d31769a71473..938e743f752a623b33ba6b7c2eb497f2a97caca3 100644
(file)
--- a/
stdio.asm
+++ b/
stdio.asm
@@
-23,6
+23,7
@@
;; size_t new_size, int flags, ... /* void *new_address */);
pushr rsi
push 1 ; MREMAP_MAYMOVE
+ push qword 0 ; (unused void* new_address)
jmp sys_mremap_asm ; exit via sys_mremap
;;; ========================================