summaryrefslogtreecommitdiff
path: root/sys/src/cmd/python/Python/mactoolboxglue.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2017-04-05 00:34:07 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2017-04-05 00:34:07 +0200
commit00fbdd622aeb6ab3665a9970d7acb6bdd225028b (patch)
tree4c1c8e589cebe9a22c30648c3136c7680ea1fbd3 /sys/src/cmd/python/Python/mactoolboxglue.c
parent30c05fe3ddfcbbf60d0088b088fae31dcc512888 (diff)
kernel: avoid waserror() botch in devwalk (from drawterm, thanks aiju)
calculate alloc flag before waserror(), as compilers like gcc will not notice the value changing later because setjump() restores the old value due to callee-saves. change is applies here to make it easier to merge with drawterm. thanks to aiju for debugging this; used to cause drawterm memory leak until compiled with gcc -O0.
Diffstat (limited to 'sys/src/cmd/python/Python/mactoolboxglue.c')
0 files changed, 0 insertions, 0 deletions