diff options
| author | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-06-23 21:49:31 -0700 |
|---|---|---|
| committer | Thomas Ulmer <thomasmulmer02@gmail.com> | 2026-06-23 21:49:31 -0700 |
| commit | 23e0502dcc958cea4d195eb8c8a28a5c362ab69f (patch) | |
| tree | a758ea1c4a6e524b45fb108afa4ebaab7c1db36e /ex.c | |
| parent | 874d317334fae1ddce316f9b6f4d0ce4e434bf52 (diff) | |
| parent | 9855bed0869ace4665e2776ec4d489847a0781b4 (diff) | |
combine sbrk spoof with heirloom fix for line numbers
Diffstat (limited to 'ex.c')
| -rw-r--r-- | ex.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -87,6 +87,7 @@ static char sccsid[] = "@(#)ex.c 1.37 (gritter) 8/4/05"; #include "ex_argv.h" #include "ex_temp.h" #include "ex_tty.h" +#include "brk_shim.h" #ifdef TRACE char tttrace[] = { '/','d','e','v','/','t','t','y','x','x',0 }; @@ -527,7 +528,7 @@ argend: * this as ed does, saving a little core, but it will probably * not often make much difference. */ - fendcore = (line *) sbrk(0); + fendcore = (line *) shim_sbrk(0); endcore = fendcore - 2; #ifdef SIGTSTP |
