[Bug 122832] Filelight ignores large files

Max Howell max.howell at methylblue.com
Mon Aug 21 21:37:52 UTC 2006


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=122832         
max.howell methylblue com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From max.howell methylblue com  2006-08-21 23:37 -------
SVN commit 575690 by mhowell:

BUG: 122832
Fixed? I hope. Support Debian and it's strange stat semantics.


 M  +18 -0     localLister.cpp  


--- trunk/extragear/utils/filelight/src/part/localLister.cpp #575689:575690
 @ -110,6 +110,24  @
       #define ST_NBLOCKSIZE 512
    #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
+#endif
+
+#ifndef NULL
+#define NULL 0
+#endif
+
+
    #include <errno.h>
    static void
    outputError( QCString path )



More information about the pkg-kde-bugs-fwd mailing list