[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/utils/filelight/src/part
From:       Max Howell <max.howell () methylblue ! com>
Date:       2006-08-22 22:34:55
Message-ID: 1156286095.806761.32420.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 576037 by mhowell:

Oops, really fix that 2GB max size bug. I think.


 M  +7 -10     localLister.cpp  


--- trunk/extragear/utils/filelight/src/part/localLister.cpp #576036:576037
@@ -111,16 +111,13 @@
    #endif
 
 //some GNU systems don't support big files for some reason
-#ifndef __USE_LARGEFILE64 //see dirent.h
- #define DIRENT dirent
- #define SCANDIR scandir
- #define STATSTRUCT stat
- #define LSTAT lstat
-#else
- #define DIRENT dirent64
- #define SCANDIR scandir64
- #define STATSTRUCT stat64
- #define LSTAT lstat64
+#ifdef __USE_LARGEFILE64 //see dirent.h
+ #define dirent dirent64
+ #define scandir scandir64
+ #define stat stat64
+ #define statstruct stat64
+ #define lstat lstat64
+ #define readdir readdir64
 #endif
 
 #ifndef NULL
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic