From owner-cvs-src-old@FreeBSD.ORG Fri Feb 5 18:17:26 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 399A1106568F for ; Fri, 5 Feb 2010 18:17:25 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 89B9F8FC15 for ; Fri, 5 Feb 2010 18:17:25 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o15IHPPL070948 for ; Fri, 5 Feb 2010 18:17:25 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o15IHPaH070947 for cvs-src-old@freebsd.org; Fri, 5 Feb 2010 18:17:25 GMT (envelope-from delphij@repoman.freebsd.org) Message-Id: <201002051817.o15IHPaH070947@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to delphij@repoman.freebsd.org using -f From: Xin LI Date: Fri, 5 Feb 2010 18:17:17 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/bc scan.l X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2010 18:17:26 -0000 delphij 2010-02-05 18:17:17 UTC FreeBSD src repository Modified files: usr.bin/bc scan.l Log: SVN rev 203531 on 2010-02-05 18:17:17Z by delphij Fix a bug in previous revision. The bc(1) program may need to deal with files when it's being run in interactive mode, so we can not blindly use interactive mode (in turn use libedit) but need to check if the input source is really the standard input. This commit should fix a regression where 'bc -l' would not parse the mathlib. Reported by: trasz Revision Changes Path 1.4 +1 -1 src/usr.bin/bc/scan.l