summaryrefslogtreecommitdiffstats
path: root/struct.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-10-20 20:51:04 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-10-20 20:51:04 -0700
commiteb6b20a502f7c20b6a5cfc9155dcbf2cb06c895e (patch)
tree33b22a385cc93d255883b403947007f24ec20180 /struct.c
parentca9d41f19051d34bad12ea3b703ae20ba1902773 (diff)
downloadtxr-eb6b20a502f7c20b6a5cfc9155dcbf2cb06c895e.tar.gz
txr-eb6b20a502f7c20b6a5cfc9155dcbf2cb06c895e.tar.bz2
txr-eb6b20a502f7c20b6a5cfc9155dcbf2cb06c895e.zip
A few volatile fixes related to setjmp.
* socket.c (dgram_get_byte_callback): nbytes must be volatile because we assign to it after setting up the catch, and then access it in the unwind code. (sock_accept): Likewise. * stream.c (generic_get_line): buf variable must be volatile. (struct save_fds): The members of this structure must be volatile; it's used as a local variable in a number of functions in a way that requires volatile.
Diffstat (limited to 'struct.c')
0 files changed, 0 insertions, 0 deletions