From nobody@FreeBSD.org  Fri Apr 13 11:47:08 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id C3E9B106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Apr 2012 11:47:08 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id B086B8FC1E
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Apr 2012 11:47:08 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q3DBl8kR003815
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 13 Apr 2012 11:47:08 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q3DBl8jR003814;
	Fri, 13 Apr 2012 11:47:08 GMT
	(envelope-from nobody)
Message-Id: <201204131147.q3DBl8jR003814@red.freebsd.org>
Date: Fri, 13 Apr 2012 11:47:08 GMT
From: Alexander Yerenkow <yerenkow@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: xz strange bug
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         166906
>Category:       misc
>Synopsis:       xz strange bug
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 13 11:50:14 UTC 2012
>Closed-Date:    Fri Apr 13 13:21:47 UTC 2012
>Last-Modified:  Fri Apr 13 13:21:47 UTC 2012
>Originator:     Alexander Yerenkow
>Release:        FreeBSD 9.0
>Organization:
>Environment:
9.0-RELEASE FreeBSD 9.0-RELEASE #0 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Somehow, xz can't archive files with two dots (just a guess, take a look at how-to-repeat).

If I rename file - archiving went just fine.
>How-To-Repeat:
$ mkdir tmp1
$ cd tmp1
$ echo "bla bla" > a.1.log
$ xz -z a.1.log > a.1.log.xz
xz: a.1.log.xz: File exists

$ ls -l
total 4
-rw-r--r--  1 user  wheel  8 13 apr 14:45 a.1.log
-rw-r--r--  1 user  wheel  0 13 apr 14:45 a.1.log.xz

>Fix:
Don't use such names? ;)

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: fluffy 
State-Changed-When: Fri Apr 13 13:21:46 UTC 2012 
State-Changed-Why:  
Submitter's request via IM, wrong test case 

http://www.freebsd.org/cgi/query-pr.cgi?pr=166906 
>Unformatted:
