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 the working code instead of __xstat/fopen for the non-working code.
Linux has two "struct stat" definitions, and code compiled with one cannot be used with the other. Libarchive always compiles with the 64-bit version so it can correctly handle very large archives. If your code is compiled to use the 32-bit version, it won't work. Apparently, httpd.h is somehow forcing your code to use the 32-bit stat, which is incompatible with libarchive. Tim Kientzle -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]