Bug#419793: libarchive-dev: archive_write_data seems to ignore wrappers in some circumstances

2007-08-18 Thread Bernhard R. Link
* Thibaut VARENE [EMAIL PROTECTED] [070818 16:57]: On 4/18/07, Tim Kientzle [EMAIL PROTECTED] wrote: I'm not familiar with USE_FILE_OFFSET64, I thought the correct incantation was this: gcc -D_FILE_OFFSET_BITS=64 Have you tried this? This actually fixes it indeed. And guess what,

Bug#419793: libarchive-dev: archive_write_data seems to ignore wrappers in some circumstances

2007-08-18 Thread Tim Kientzle
Bernhard R. Link wrote: There might be ways to help libraries to still link against libarchive without having to change their off_t to 64 bit, but using off64_t in those cases. Actually, I believe I've laid the groundwork to make the 64-bit/32-bit issue completely transparent to software

Bug#419793: libarchive-dev: archive_write_data seems to ignore wrappers in some circumstances

2007-04-18 Thread Thibaut VARENE
On 4/18/07, Tim Kientzle [EMAIL PROTECTED] wrote: Thibaut VARENE wrote: I'm the author and maintainer of libapache-mod-musicindex. Recently a bug has been reported to me, by which the tarball download implemented in mod-musicindex wouldn't work properly with apache2, while it did work with

Bug#419793: libarchive-dev: archive_write_data seems to ignore wrappers in some circumstances

2007-04-18 Thread Tim Kientzle
Note the use of __xstat64/fopen64 for the working code instead of __xstat/fopen for the non-working code. At this point I believed it had something to do with the use of 64bit offsets (USE_FILE_OFFSET64) but simply adding this define to the compiler commandline didn't fix the issue. I'm not

Bug#419793: libarchive-dev: archive_write_data seems to ignore wrappers in some circumstances

2007-04-18 Thread Thibaut VARENE
On 4/18/07, Tim Kientzle [EMAIL PROTECTED] wrote: Note the use of __xstat64/fopen64 for the working code instead of __xstat/fopen for the non-working code. At this point I believed it had something to do with the use of 64bit offsets (USE_FILE_OFFSET64) but simply adding this define to the

Bug#419793: libarchive-dev: archive_write_data seems to ignore wrappers in some circumstances

2007-04-17 Thread Thibaut VARENE
Package: libarchive-dev Version: 1.2.53-2 Severity: important Hi, I'm the author and maintainer of libapache-mod-musicindex. Recently a bug has been reported to me, by which the tarball download implemented in mod-musicindex wouldn't work properly with apache2, while it did work with

Bug#419793: libarchive-dev: archive_write_data seems to ignore wrappers in some circumstances

2007-04-17 Thread Tim Kientzle
Thibaut VARENE wrote: I'm the author and maintainer of libapache-mod-musicindex. Recently a bug has been reported to me, by which the tarball download implemented in mod-musicindex wouldn't work properly with apache2, while it did work with apache1.3 Note the use of __xstat64/fopen64 for

Bug#419793: libarchive-dev: archive_write_data seems to ignore wrappers in some circumstances

2007-04-17 Thread Tim Kientzle
Thibaut VARENE wrote: bip 8192 Do I win? bip 8192 Do I win? bip 8192 (note, with libarchive 2, 'bip' (the output of archive_write) is 0, which seems a bit more coherent). Yes, libarchive 1 does return wrong values from archive_write. As you observed, this bug is fixed in libarchive 2. Tim