18 Commits (cb76d0ecd8dcc104ffd936e8799d3ed099813697)

Author SHA1 Message Date
Don Sanders b39b3caf68 include fcntl.h to fix compile problem on Solaris as recommended by 22 years ago
Stephan Kulow 648c7aa482 make sure forked children don't inherit kmail's file descriptors 22 years ago
Ingo Klcker 2c715b30da Merge from osnabrueck_branch: all 22 years ago
Waldo Bastian f1f6af30a8 Fix for accessing 32bit index files with 64bit cpu (And vice versa) 22 years ago
Marc Mutz e9e426e31a o Remove int vs uint madness in KMMsgList. QMemArray<> expects uints, while KMMsgBase, inheriting QMemArray<>, worked with ints. to get rid of the warnings, some methods (e.g. size()) were reimplemented to call the QMemArray<> versions and casting the result to int before returning. 23 years ago
Ingo Klcker f46ae20792 If the trash folder was never opened during a KMail session, then the index of the trash folder was never read and mHeaderOffset is still 0 when truncateIndex() is called during emptying the trash folder on program exit. The truncate in truncateIndex() then even cut off the index file header. We now avoid this by simply creating a new empty index in case mHeaderOffset is 0. Creating a new empty index is faster than reading the index in order to get the correct value for mHeaderOffset. 23 years ago
Till Adam 7f007b2e9c Avoid expunging empty folders because that leads to the index being 23 years ago
Ingo Klcker bb9a8db3bd - cope with index files with invalid headers (Adriaan de Groot had index files of 0 bytes for some reason) 23 years ago
Marc Mutz 33a5ca439a Fix Solaris compile errors reported and patched by Torsten Kasch <tk (at ) Genetik (dot) uni-bielefeld (dot) de> 23 years ago
Ingo Klcker 4d448db47f Change 23 years ago
Dirk Mueller 43c8cb8d03 adding an assert for me 23 years ago
Daniel Molkentin 2f118feed6 constant usage of QFile::encodeName() when dealing with files. Boy that was a wild mix before... 23 years ago
Till Adam ae304a4eda These changes do two things: 23 years ago
Ingo Klcker 6a50dcb980 Don't leak fds in case of an error. Thanks to Waldo for spotting this. 23 years ago
Zack Rusin 690e92d514 Everyone does fixincludes and I felt left out. Joining the "fixincludes" club. 23 years ago
Marc Mutz e786298648 fix compilation w/o HAVE_MMAP 23 years ago
George Staikos ae7fb15d3d more warnings 23 years ago
Stephan Kulow 3ceeb4fc02 merged the kmreaderwin split 24 years ago