Author: jilles Date: Fri Aug 13 13:36:18 2010 New Revision: 211281 URL: http://svn.freebsd.org/changeset/base/211281
Log: sh: Fix shadowing of sigset. Modified: head/bin/sh/error.c Modified: head/bin/sh/error.c ============================================================================== --- head/bin/sh/error.c Fri Aug 13 12:56:00 2010 (r211280) +++ head/bin/sh/error.c Fri Aug 13 13:36:18 2010 (r211281) @@ -102,7 +102,7 @@ exraise(int e) void onint(void) { - sigset_t sigset; + sigset_t sigs; /* * The !in_dotrap here is safe. The only way we can arrive here @@ -115,8 +115,8 @@ onint(void) return; } intpending = 0; - sigemptyset(&sigset); - sigprocmask(SIG_SETMASK, &sigset, NULL); + sigemptyset(&sigs); + sigprocmask(SIG_SETMASK, &sigs, NULL); /* * This doesn't seem to be needed, since main() emits a newline. _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"