From owner-freebsd-bugs@FreeBSD.ORG Sat Aug 16 12:10:21 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67C9437B401 for ; Sat, 16 Aug 2003 12:10:21 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0786843F93 for ; Sat, 16 Aug 2003 12:10:21 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h7GJAKUp033609 for ; Sat, 16 Aug 2003 12:10:20 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h7GJAKQh033608; Sat, 16 Aug 2003 12:10:20 -0700 (PDT) Date: Sat, 16 Aug 2003 12:10:20 -0700 (PDT) Message-Id: <200308161910.h7GJAKQh033608@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Doug White Subject: Re: bin/55346: /bin/sh eats memory and CPU infinitely X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Doug White List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Aug 2003 19:10:21 -0000 The following reply was made to PR bin/55346; it has been noted by GNATS. From: Doug White To: Eugene Grosbein Cc: stable@freebsd.org, bug-followup@freebsd.org Subject: Re: bin/55346: /bin/sh eats memory and CPU infinitely Date: Sat, 16 Aug 2003 12:00:32 -0700 (PDT) On Sun, 17 Aug 2003, Eugene Grosbein wrote: > On Fri, Aug 15, 2003 at 07:13:57PM -0700, Doug White wrote: > > > You should not remove the ifdef and change the indentation of deljob. Just > > s/del/free and be done with it :-) I highly doubt anyone needs to disable > > job control in sh, but in the off chance they do, you might as well keep > > the ifdef around. > > > > Note that freejob calls deljob. > > That's why I've removed #ifdef. > freejob() already has these #ifdefs around deljob(). > However, freejob() is not wrapped with #ifdefs itself. So I've removed > them here. Ah, OK, I follow you there. send-pr away. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org