From owner-cvs-src@FreeBSD.ORG Mon Nov 28 16:30:18 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2243416A41F; Mon, 28 Nov 2005 16:30:18 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5309543D5F; Mon, 28 Nov 2005 16:30:16 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jASGUGSu094407; Mon, 28 Nov 2005 16:30:16 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jASGUGXh094406; Mon, 28 Nov 2005 16:30:16 GMT (envelope-from jhb) Message-Id: <200511281630.jASGUGXh094406@repoman.freebsd.org> From: John Baldwin Date: Mon, 28 Nov 2005 16:30:16 +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/lib/libutil property.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: Mon, 28 Nov 2005 16:30:18 -0000 jhb 2005-11-28 16:30:16 UTC FreeBSD src repository Modified files: lib/libutil property.c Log: Restore the previous state after a FILL operation in properties_read() rather than forcing the state to LOOK. If we are in the middle of parsing a line when we have to do a FILL we would have lost any token we were in the middle of parsing and would have treated the next character as being at the start of a new line instead. PR: kern/89181 Submitted by: Antony Mawer gnats at mawer dot org MFC after: 1 week Revision Changes Path 1.14 +15 -8 src/lib/libutil/property.c