Export to GitHub

clamz - issue #16

option --output-directory fails with absolute path


Posted on Nov 1, 2009 by Helpful Rhino

What steps will reproduce the problem? 1. use option --output-directory with absolute path as destination

What is the expected output? clamz works fine with relative path or current directory.

What do you see instead?

clamz writes ERROR: Cannot create directory : Datei oder Verzeichnis nicht gefunden

What version of the product are you using? 0.2 On what operating system? based on SuSE Linux 8.1

gcc 3.4.6 result of ldd clamz: libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0x4002f000) libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x400a9000) libcurl.so.4 => /usr/lib/libcurl.so.4 (0x400ad000) libexpat.so.1 => /usr/lib/libexpat.so.1 (0x400ec000) libc.so.6 => /lib/libc.so.6 (0x4010d000) libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x4022c000) libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x4026b000) libdl.so.2 => /lib/libdl.so.2 (0x4039a000) libz.so.1 => /lib/libz.so.1 (0x4039d000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Please provide any additional information below.

Attached is a patch for file download.c that fixes this issue.

Attachments

Comment #1

Posted on Nov 24, 2009 by Happy Bird

I can confirm that the attached patch works for me.

Comment #2

Posted on Apr 1, 2010 by Massive Rabbit

Done in 0.3.

Status: Fixed

Labels:
Type-Defect Priority-Medium