summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sig.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-09-01 15:28:24 +0000
committerache <ache@FreeBSD.org>2001-09-01 15:28:24 +0000
commit040bf33abb9c840d4c82451216ca2948e787fea6 (patch)
treeee54a20cc4f7b4c40b42a25070f3d75c3d0f8d9e /sys/kern/kern_sig.c
parent77759ea63b149af08d749c57155482f866c1b82c (diff)
downloadFreeBSD-src-040bf33abb9c840d4c82451216ca2948e787fea6.zip
FreeBSD-src-040bf33abb9c840d4c82451216ca2948e787fea6.tar.gz
Save errno before function call and restore it on success (because many
internal functions there may fail and set (i.e. overwrite) errno in normal (not error) situation). In original variant errno testing after call (as POSIX suggest) is wrong when errno overwrite happens.
Diffstat (limited to 'sys/kern/kern_sig.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud