bin/55346: /bin/sh eats memory and CPU infinitely

Doug White dwhite at gumbysoft.com
Sat Aug 16 12:10:21 PDT 2003


The following reply was made to PR bin/55346; it has been noted by GNATS.

From: Doug White <dwhite at gumbysoft.com>
To: Eugene Grosbein <eugen at grosbein.pp.ru>
Cc: stable at freebsd.org, bug-followup at 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 at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-bugs mailing list