From owner-freebsd-bugs Sun Dec 16 7:30: 5 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 88A5937B41C for ; Sun, 16 Dec 2001 07:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBGFU1x28241; Sun, 16 Dec 2001 07:30:01 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 087A637B405 for ; Sun, 16 Dec 2001 07:20:57 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBGFKvb27323; Sun, 16 Dec 2001 07:20:57 -0800 (PST) (envelope-from nobody) Message-Id: <200112161520.fBGFKvb27323@freefall.freebsd.org> Date: Sun, 16 Dec 2001 07:20:57 -0800 (PST) From: "Martin P. Hansen" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: gnu/32902: Incremental tar archiving using GNU style fails to handle regional chars Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 32902 >Category: gnu >Synopsis: Incremental tar archiving using GNU style fails to handle regional chars >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 16 07:30:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Martin P. Hansen >Release: 4.1.1-RELEASE >Organization: >Environment: FreeBSD bsd-kools.kools.dk 4.1.1-RELEASE FreeBSD 4.1.1-RELEASE #0: Sat Dec 23 16:02:34 CET 2000 root@argon.lan.dk:/usr/src/sys/compile/KOOLS i386 >Description: tar's '-g' option doesn't handle regional chars properly, it archives wheter or not the file is modified. >How-To-Repeat: Creating a test tree containing two directories one without extended chars and one with. Put two or more docs in each and try to tar: tar -g snapshot -cvf test.tar test-tree/ and then tar -g snapshot -cvf test2.tar test-tree/ The second tar should ofcause not archive anything except some dirs. But will faithfully archive the complete dir with the regional char. >Fix: This all happens due a missing increment in un_quote_string() in port.c. At line 992 "*to_there = tmp;" should be "*to_there++ = tmp;". >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message