summaryrefslogtreecommitdiff
path: root/sys/src/cmd/acme
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-04-25 22:16:44 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2020-04-25 22:16:44 +0200
commit7feab4dc5913c8d072d57e9cc7cc7b3815037fe8 (patch)
tree62b834b7657d63cdd85d984d15474c20101148ef /sys/src/cmd/acme
parent4adb1d68d1a958c2ee3c5cfe2e26968e13dcfc1b (diff)
cc: simplify macexpand() and off-by-one error
the caller of macexpand() needs one more byte in the buffer to append peekc. make macexpand() actually check for buffer overflow. just use strdup() to duplicate include file name instead of the hunk dance. move GETC() macro in cc.h
Diffstat (limited to 'sys/src/cmd/acme')
0 files changed, 0 insertions, 0 deletions