From owner-cvs-all Sun Jan 26 19:39:35 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79B8B37B401; Sun, 26 Jan 2003 19:39:34 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EDF543E4A; Sun, 26 Jan 2003 19:39:34 -0800 (PST) (envelope-from ache@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h0R3dXbv044464; Sun, 26 Jan 2003 19:39:33 -0800 (PST) (envelope-from ache@repoman.freebsd.org) Received: (from ache@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h0R3dXPG044463; Sun, 26 Jan 2003 19:39:33 -0800 (PST) Message-Id: <200301270339.h0R3dXPG044463@repoman.freebsd.org> From: "Andrey A. Chernov" Date: Sun, 26 Jan 2003 19:39:33 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libutil property.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 ache 2003/01/26 19:39:33 PST Modified files: lib/libutil property.c Log: Now return NULLified struct in case of empty config file (previous variant return NULL pointer for both empty file case and error case, so caller can't sense error properly). It not affect existen programs because property_find() now returns NULL for both NULL pointer and NULLified struct. Revision Changes Path 1.12 +9 -6 src/lib/libutil/property.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message