Date: Sun, 16 Dec 2001 07:20:57 -0800 (PST) From: "Martin P. Hansen" <mph@fabel.dk> To: freebsd-gnats-submit@FreeBSD.org Subject: gnu/32902: Incremental tar archiving using GNU style fails to handle regional chars Message-ID: <200112161520.fBGFKvb27323@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112161520.fBGFKvb27323>