From owner-cvs-src@FreeBSD.ORG Thu Jul 19 14:31:53 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 D08E816A410; Thu, 19 Jul 2007 14:31:53 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 8C4E713C4C6; Thu, 19 Jul 2007 14:31:53 +0000 (UTC) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l6JEVrGQ003299; Thu, 19 Jul 2007 14:31:53 GMT (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l6JEVr1K003298; Thu, 19 Jul 2007 14:31:53 GMT (envelope-from kientzle) Message-Id: <200707191431.l6JEVr1K003298@repoman.freebsd.org> From: Tim Kientzle Date: Thu, 19 Jul 2007 14:31:52 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/lib/libarchive Makefile archive_read_support_format_tar.c archive_read_support_format_zip.c archive_string.c archive_string_sprintf.c archive_write_disk.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: Thu, 19 Jul 2007 14:31:53 -0000 kientzle 2007-07-19 14:31:52 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libarchive Makefile archive_read_support_format_tar.c archive_read_support_format_zip.c archive_string.c archive_string_sprintf.c archive_write_disk.c Log: MFC better error handling from archive_string_ensure() failures. Several key users of this function now simply return ENOMEM to the caller instead of aborting the program. Revision Changes Path 1.36.2.9 +1 -1 src/lib/libarchive/Makefile 1.32.2.7 +12 -2 src/lib/libarchive/archive_read_support_format_tar.c 1.5.2.4 +2 -1 src/lib/libarchive/archive_read_support_format_zip.c 1.6.2.3 +6 -5 src/lib/libarchive/archive_string.c 1.7.2.2 +3 -1 src/lib/libarchive/archive_string_sprintf.c 1.12.2.2 +4 -1 src/lib/libarchive/archive_write_disk.c