|
From: | anonymous |
Subject: | [bug #21898] bc 1.06: Segmentation fault when using for (;;) |
Date: | Thu, 27 Dec 2007 11:37:05 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20071020 CentOS/1.5.0.12-0.7.el4.centos Firefox/1.5.0.12 pango-text |
URL: <http://savannah.gnu.org/bugs/?21898> Summary: bc 1.06: Segmentation fault when using for (;;) Project: grep Submitted by: None Submitted on: Thursday 12/27/2007 at 11:37 UTC Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: Regarding bc 1.06, the use of the for (;;) syntax (for loops with a condition in the middle) is the apparent cause of a segmentation fault. Here is a 'minimal' test program: n=1 for (;;) { if (n>3) break n++ } _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?21898> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |