diff --git a/ChangeLog b/ChangeLog index b0d8ac95dcff0724423cf05000449b712d33b011..b70511c55db4d8df09d417046cd960072292fa03 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-11-29 Benedikt Meurer <benny@xfce.org> + + * configure.in.in, thunar-vfs/thunar-vfs-types.h: Add largefile support + for systems that don't support 64bit file offsets by default. This + fixes bug #1243. + 2005-11-28 Benedikt Meurer <benny@xfce.org> * thunar/thunar-location-buttons.c, thunar/thunar-properties-dialog.c: diff --git a/configure.in.in b/configure.in.in index df733dbcc0763128b056b69b1a8c0563ea2c6658..1eabaff541c87e05555b3615674d2ec40eebcc20 100644 --- a/configure.in.in +++ b/configure.in.in @@ -88,6 +88,11 @@ esac AC_SUBST([TDB_U32_TYPE]) AC_MSG_RESULT([$TDB_U32_TYPE]) +dnl *********************************************** +dnl *** Work-around system-specific limitations *** +dnl *********************************************** +AC_SYS_LARGEFILE() + dnl ********************************** dnl *** Check for standard headers *** dnl ********************************** diff --git a/thunar-vfs/thunar-vfs-types.h b/thunar-vfs/thunar-vfs-types.h index 643b707952015ca9c305dd2f1f01a97e449ea786..f3786da824c42bfb3b1ad7e8bc358629cf83718c 100644 --- a/thunar-vfs/thunar-vfs-types.h +++ b/thunar-vfs/thunar-vfs-types.h @@ -24,6 +24,8 @@ #include <sys/types.h> #include <unistd.h> +#include <glib.h> + G_BEGIN_DECLS; /** @@ -125,7 +127,7 @@ typedef ino_t ThunarVfsFileInode; * ThunarVfsFileSize: * Datatype to represent file sizes (in bytes). **/ -typedef off_t ThunarVfsFileSize; +typedef gint64 ThunarVfsFileSize; /** * ThunarVfsFileTime: