From owner-cvs-all@FreeBSD.ORG Sat Mar 31 10:14:04 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA7AE16A406; Sat, 31 Mar 2007 10:14:04 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 7EF1313C458; Sat, 31 Mar 2007 10:14:04 +0000 (UTC) (envelope-from cperciva@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l2VAE4G2015242; Sat, 31 Mar 2007 10:14:04 GMT (envelope-from cperciva@repoman.freebsd.org) Received: (from cperciva@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l2VAE48H015241; Sat, 31 Mar 2007 10:14:04 GMT (envelope-from cperciva) Message-Id: <200703311014.l2VAE48H015241@repoman.freebsd.org> From: Colin Percival Date: Sat, 31 Mar 2007 10:14:03 +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/usr.bin/tar write.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2007 10:14:04 -0000 cperciva 2007-03-31 10:14:03 UTC FreeBSD src repository Modified files: usr.bin/tar write.c Log: Split the append_archive function (used for processing @ directives) into separate append_archive and append_archive_filename functions; the first takes a "struct archive *" as input, while the second takes a filename, opens the archive, and calls the first. There should be no changes in behaviour as a result of this commit; it simply reorganizes code to make more sense. At some point in the future it may be possible to share code between append_archive and read_archive, but not yet. Discussed with: kientzle Revision Changes Path 1.60 +28 -13 src/usr.bin/tar/write.c