kevin-vigor / clamz

Automatically exported from code.google.com/p/clamz
0 stars 0 forks source link

option --output-directory fails with absolute path #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by martin.j...@googlemail.com on 1 Nov 2009 at 6:08

Attachments:

GoogleCodeExporter commented 9 years ago
I can confirm that the attached patch works for me.

Original comment by njsmith@ucsd.edu on 24 Nov 2009 at 9:15

GoogleCodeExporter commented 9 years ago
Done in 0.3.

Original comment by Benjamin...@gmail.com on 1 Apr 2010 at 5:04