Message-Id: <199707012237.HAA09476@mail.st.rim.or.jp> From: "Daisuke Aoyama" To: "Molnar Laszlo" , "Eli Zaretskii" Cc: Subject: RE: Memory leak in bash Date: Wed, 2 Jul 1997 07:31:33 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Precedence: bulk > 2) Why are you so sure it's a memory leak? It can be just a >result of known deficiencies in `malloc' and friends. The fact that Bash >requests more and more core from the DPMI host doesn't necessarily mean >that it itself leaks memory (although it might). Yes, it's not a leak but a bug. If you can recompile bash sources, fix at line 227 of execute_cmd.c: Before: else if (delay_remove_size >= delay_remove_counts) After: else if (delay_remove_size <= delay_remove_counts) Daisuke Aoyama jack AT st DOT rim DOT or DOT jp PGP Key ID: 50B4BDFD PGP Key Fingerprint: 1E 2C 84 22 DA C4 0C BB 5A 75 F5 8A 82 F8 DF 58