aboutsummaryrefslogtreecommitdiff
path: root/spawn.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-16 15:46:02 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-16 15:46:02 +0000
commite5401c845c058d53aff9586cf12e0074e74059aa (patch)
treea8ae6acb1e1701508614aae54df4ce277289bbfc /spawn.c
parentMerge branch 'master' into pipe-grid-to-external-tool (diff)
extract: finish: allocate buffer before writing the terminator
When all cells were empty, we'll have written 0 bytes to the buffer and hence it will still be un-allocated (i.e. NULL).
Diffstat (limited to 'spawn.c')
0 files changed, 0 insertions, 0 deletions