From owner-cvs-all Sat Jun 1 6:25:50 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 48F5837B40A; Sat, 1 Jun 2002 06:25:47 -0700 (PDT) Received: (from green@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g51DPl068648; Sat, 1 Jun 2002 06:25:47 -0700 (PDT) (envelope-from green) Message-Id: <200206011325.g51DPl068648@freefall.freebsd.org> From: Brian Feldman Date: Sat, 1 Jun 2002 06:25:47 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/sed compile.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG green 2002/06/01 06:25:47 PDT Modified files: usr.bin/sed compile.c Log: Fix a bug in sed(1)'s "s" command wherein if an escape ("\" character) was initiated at the last character of the line buffer, the Wrong Thing was done and sed barfed by interpreting the following NUL byte as a digit. Instead, pull up the next buffer and record that the "\" was last seen. Revision Changes Path 1.21 +24 -4 src/usr.bin/sed/compile.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message