From owner-cvs-bin Mon Nov 10 03:37:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA25166 for cvs-bin-outgoing; Mon, 10 Nov 1997 03:37:42 -0800 (PST) (envelope-from owner-cvs-bin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA24947; Mon, 10 Nov 1997 03:34:24 -0800 (PST) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id DAA27451; Mon, 10 Nov 1997 03:32:26 -0800 (PST) Date: Mon, 10 Nov 1997 03:32:26 -0800 (PST) Message-Id: <199711101132.DAA27451@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG Subject: cvs commit: src/bin/sh trap.c trap.h Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/11/10 03:32:25 PST Modified files: bin/sh trap.c trap.h Log: Fixed some type and value mismatches. setsignal() returned a bogusly cast value that was always ignored. Rev.1.9 of trap.c made this more bogus by returning a semantically different value after calling siginterrupt(). Avoid these problems by not returning a value. Revision Changes Path 1.10 +9 -10 src/bin/sh/trap.c 1.7 +2 -2 src/bin/sh/trap.h