Up to [local] / src / usr.bin / telnet
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_3_1_BASE
Revision 1.10 / (download) - annotate - [select for diffs], Mon Mar 25 10:52:32 2002 UTC (22 years, 2 months ago) by hin
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE,
OPENBSD_3_3,
OPENBSD_3_2_BASE,
OPENBSD_3_2,
OPENBSD_3_1_BASE,
OPENBSD_3_1
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)
Todd Miller pointed this out to me: You really want to use 'volatile sig_atomic_t' not just sig_atomic_t for flags set in signal handlers. Without the volatile gcc may stick the value in a register but update the on-stack copy in the signal handler.