sh: Fix swapped INTON/INTOFF.
authorPeter Avalos <pavalos@dragonflybsd.org>
Sun, 5 Feb 2012 20:26:01 +0000 (12:26 -0800)
committerPeter Avalos <pavalos@dragonflybsd.org>
Sun, 5 Feb 2012 21:04:06 +0000 (13:04 -0800)
commitefa19f914b77b2fcc35293a7f0f4f6ef9526c3d6
tree5eddbee4f302fd4b5fe243d3ac93cfab18893717
parentb4941228cd03b125564fdb6d72755da2a3bbf63e
sh: Fix swapped INTON/INTOFF.

A possible consequence of this bug was a memory leak if SIGINT arrived
during a 'set' command (listing variables).

Obtained-from:  FreeBSD 231001
(cherry picked from commit 97e1125af7205a348d9c853f7f73b42dd4a76d26)
bin/sh/var.c