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_subr.c | |
| parent | 874d317334fae1ddce316f9b6f4d0ce4e434bf52 (diff) | |
| parent | 9855bed0869ace4665e2776ec4d489847a0781b4 (diff) | |
combine sbrk spoof with heirloom fix for line numbers
Diffstat (limited to 'ex_subr.c')
| -rw-r--r-- | ex_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -537,12 +537,12 @@ morelines(void) pg = 4096; pg /= sizeof (line); } - if ((char *)sbrk(pg * sizeof (line)) == (char *)-1) + if ((char *)shim_sbrk(pg * sizeof (line)) == (char *)-1) return (-1); endcore += pg; return (0); #else /* !_SC_PAGESIZE */ - if (sbrk(1024 * sizeof (line)) == (char *)-1) + if (shim_sbrk(1024 * sizeof (line)) == (char *)-1) return (-1); endcore += 1024; return (0); |
