We have noticed at least on NetWare that enabling large file support causes problems when trying to use acrobat reader in the browser to view a .PDF file. My guess is that this is due to the redefinition of apr_off_t to off64_t rather than off_t. Does anybody have any idea where the incompatibility might be or where I should start looking?
Brad Brad Nicholes Senior Software Engineer Novell, Inc., the leading provider of Net business solutions http://www.novell.com >>> [EMAIL PROTECTED] Saturday, December 13, 2003 1:32:49 PM >>> bnicholes 2003/12/13 12:32:49 Modified: include apr.hnw Log: large file support is causing problems with acrobat reader and PDF files. Turning it off on NetWare until I can figure out why. Revision Changes Path 1.42 +5 -1 apr/include/apr.hnw Index: apr.hnw =================================================================== RCS file: /home/cvs/apr/include/apr.hnw,v retrieving revision 1.41 retrieving revision 1.42 diff -u -r1.41 -r1.42 --- apr.hnw 25 Nov 2003 19:30:02 -0000 1.41 +++ apr.hnw 13 Dec 2003 20:32:49 -0000 1.42 @@ -227,7 +227,7 @@ #define APR_HAS_UNICODE_FS 0 #define APR_HAS_PROC_INVOKED 0 #define APR_HAS_USER 1 -#define APR_HAS_LARGE_FILES 1 +#define APR_HAS_LARGE_FILES 0 #define APR_HAS_XTHREAD_FILES 0 #define APR_HAS_OS_UUID 0 @@ -262,7 +262,11 @@ typedef size_t apr_size_t; typedef ssize_t apr_ssize_t; +#if APR_HAS_LARGE_FILES typedef off64_t apr_off_t; +#else +typedef off_t apr_off_t; +#endif typedef int apr_socklen_t; /* Are we big endian? */