From owner-cvs-src@FreeBSD.ORG Fri Jul 6 16:34:56 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A57FE16A421; Fri, 6 Jul 2007 16:34:56 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 7BED913C455; Fri, 6 Jul 2007 16:34:56 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l66GYuhX028367; Fri, 6 Jul 2007 16:34:56 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l66GYuwj028364; Fri, 6 Jul 2007 16:34:56 GMT (envelope-from delphij) Message-Id: <200707061634.l66GYuwj028364@repoman.freebsd.org> From: Xin LI Date: Fri, 6 Jul 2007 16:34:56 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/sed compile.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2007 16:34:56 -0000 delphij 2007-07-06 16:34:56 UTC FreeBSD src repository Modified files: usr.bin/sed compile.c Log: Before doing compile_re() which needs a parameter to identify whether we should ignore case, determine the flag by calling compile_flags() first. Also, make sure that we obtain an initialized cmd->u.s buffer before processing further. We may want to refine this solution later, but for now, make the changes in order to unbreak world build after a sed(1) with rev. 1.29 of compile.c is installed. Approved by: re (hrs) Revision Changes Path 1.30 +4 -4 src/usr.bin/sed/compile.c