From owner-cvs-all Mon Jan 8 21:45:21 2001 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 C47EA37B400; Mon, 8 Jan 2001 21:45:03 -0800 (PST) Received: (from rwatson@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f095j3o26991; Mon, 8 Jan 2001 21:45:03 -0800 (PST) (envelope-from rwatson) Message-Id: <200101090545.f095j3o26991@freefall.freebsd.org> From: Robert Watson Date: Mon, 8 Jan 2001 21:45:03 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libposix1e acl_from_text.c acl_to_text.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG rwatson 2001/01/08 21:45:03 PST Modified files: lib/libposix1e acl_from_text.c acl_to_text.c Log: o acl_from_text.c: - errno is already set to ENOMEM (as appropriate) when asprintf(), strdup(), or acl_init() fails o acl_to_text.c: - the return value of the initial strdup() is not checked - errno is already set to ENOMEM (as appropriate) when asprintf and acl_init() fails - let the the default: case use 'goto error_label' for consistency Submitted by: jedgar Revision Changes Path 1.3 +2 -5 src/lib/libposix1e/acl_from_text.c 1.3 +10 -21 src/lib/libposix1e/acl_to_text.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message