[Digikam-devel] [Bug 127634] New: communication between digikam and its kioslaves broken if size_t != off_t
Mark Davies
mark at mcs.vuw.ac.nz
Fri May 19 01:34:30 BST 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=127634
Summary: communication between digikam and its kioslaves broken
if size_t != off_t
Product: digikam
Version: 0.8.1
Platform: NetBSD pkgsrc
OS/Version: NetBSD
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: digikam-devel kde org
ReportedBy: mark mcs vuw ac nz
Version: 0.8.1 (using KDE KDE 3.5.2)
Installed from: NetBSD pkgsrc
Compiler: gcc 3.3.3
OS: NetBSD
On systems where size_t != off_t communication between digikam and its kioslaves (eg digikamsearch) breaks because the kioslaves try to pass a different sized object from what digikam expects.
Specifically they pass stbuf.st_size which is of type off_t while digikam is expecting a size_t object at that point. My fix is to change digikam to expect an off_t (I'll attach a patch shortly), alternatively you could cast all the st_size's to size_t but that seems ugly.
This appears to still be a problem with 0.8.2-rc1.
cheers
mark
More information about the Digikam-devel
mailing list