Add large file support

This commit is contained in:
"Jean-Francois Dockes ext:(%22) 2010-07-16 17:08:07 +02:00
parent ca0d798c75
commit e5f41aeb05
13 changed files with 2060 additions and 3022 deletions

View File

@ -105,3 +105,7 @@
/* Define to 1 if the X Window System is missing or not being used. */
#undef X_DISPLAY_MISSING
#undef _FILE_OFFSET_BITS
#undef _LARGE_FILES

5055
src/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -16,6 +16,8 @@ if test ! -f mk/$sys ; then
fi
(cd mk; rm -f sysconf; ln -s $sys sysconf)
AC_SYS_LARGEFILE
AC_CHECK_HEADERS(sys/mount.h sys/statfs.h sys/statvfs.h sys/vfs.h)
# Use specific 'file' command ? (Useful on solaris to specify

View File

@ -19,6 +19,8 @@ static char rcsid[] = "@(#$Id: mimetype.cpp,v 1.22 2008-11-18 13:25:48 dockes Ex
*/
#ifndef TEST_MIMETYPE
#include "autoconfig.h"
#include <sys/stat.h>
#include <ctype.h>
@ -29,7 +31,6 @@ static char rcsid[] = "@(#$Id: mimetype.cpp,v 1.22 2008-11-18 13:25:48 dockes Ex
using namespace std;
#endif /* NO_NAMESPACES */
#include "autoconfig.h"
#include "mimetype.h"
#include "debuglog.h"
#include "execmd.h"

View File

@ -18,6 +18,8 @@ static char rcsid[] = "@(#$Id: mh_mbox.cpp,v 1.5 2008-10-04 14:26:59 dockes Exp
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef TEST_MH_MBOX
#include "autoconfig.h"
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>

View File

@ -17,6 +17,8 @@ static char rcsid[] = "@(#$Id: mh_text.cpp,v 1.6 2006-12-15 12:40:02 dockes Exp
* Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "autoconfig.h"
#include <stdio.h>
#include <unistd.h>
#include <sys/stat.h>

View File

@ -27,6 +27,8 @@ static char rcsid[] = "@(#$Id: dirif.cpp,v 1.12 2008-12-08 17:42:57 dockes Exp $
* Stephan Binner <binner@kde.org>
*/
#include "autoconfig.h"
#include <kdeversion.h>
#if KDE_IS_VERSION(4,1,0)

View File

@ -17,6 +17,8 @@ static char rcsid[] = "@(#$Id: uiprefs_w.cpp,v 1.26 2008-10-03 08:09:36 dockes E
* Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include "autoconfig.h"
#include <sys/stat.h>
#include <string>

View File

@ -19,6 +19,8 @@ static char rcsid[] = "@(#$Id: $ (C) 2009 J.F.Dockes";
#endif
#ifndef TEST_CIRCACHE
#include "autoconfig.h"
#include <stdio.h>
#include <assert.h>
#include <errno.h>

View File

@ -17,6 +17,9 @@ static char rcsid[] = "@(#$Id: fstreewalk.cpp,v 1.15 2007-12-13 06:58:22 dockes
* Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
#include "autoconfig.h"
#endif
#ifndef TEST_FSTREEWALK

View File

@ -19,6 +19,8 @@ static char rcsid[] = "@(#$Id: pathut.cpp,v 1.23 2008-11-24 15:47:40 dockes Exp
*/
#ifndef TEST_PATHUT
#include "autoconfig.h"
#include <unistd.h>
#include <fcntl.h>
#include <sys/param.h>

View File

@ -18,6 +18,7 @@ static char rcsid[] = "@(#$Id: readfile.cpp,v 1.9 2008-12-08 11:22:58 dockes Exp
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef TEST_READFILE
#include "autoconfig.h"
#include <unistd.h>
#include <fcntl.h>

View File

@ -19,6 +19,8 @@ static char rcsid[] = "@(#$Id: wipedir.cpp,v 1.6 2007-12-13 06:58:22 dockes Exp
*/
#ifndef TEST_WIPEDIR
#include "autoconfig.h"
#include <unistd.h>
#include <fcntl.h>
#include <dirent.h>