Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dist-Zilla CPAN distribution.

Report information
The Basics
Id: 70576
Status: resolved
Priority: 0/
Queue: Dist-Zilla

Owner: Nobody in particular
Requestors: polettix [...]

Bug Information
Severity: Normal
Broken in: 4.300000
Fixed in: 4.300002

Subject: Empty files are saved with bogus data
Download (untitled) / with headers
text/plain 817b
An example is worth a thousand words: poletti@Polebian bug$ dir total 4 -rw-r--r-- 1 poletti dialout 160 2011-08-29 12:49 dist.ini -rw-r--r-- 1 poletti dialout 0 2011-08-29 12:48 empty poletti@Polebian bug$ cat dist.ini name = Sample abstract = Just a sample author = A. U. Thor (<>) license = Perl_5 copyright_holder = A. U. Thor version = 1.0 [@Basic] poletti@Polebian bug$ dzil build [DZ] beginning to build Sample [DZ] writing Sample in Sample-1.0 [DZ] writing archive to Sample-1.0.tar.gz poletti@Polebian bug$ cat Sample-1.0/empty poletti@Polebian bug$ tar xOf Sample-1.0.tar.gz Sample-1.0/empty HASH(0xacfa520) As you can see, the file "empty" is still empty in the subdirectory, but is wrongly inserted with bogus data "HASH(0xacfa520)" inside the tar archive. Cheers, Flavio.
This bug was fixed in 4.300002, so it can be closed now.
closed, then! -- rjbs

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to