By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 1525
Collapse All | Expand All

(-)./kio/kio/kzip.cpp.ORI (+15 lines)
Lines 1051-1056 Link Here
1051
    return true;
1051
    return true;
1052
}
1052
}
1053
1053
1054
bool KZip::writeDir(const TQString& name, const TQString& user, const TQString& group)
1055
{
1056
    // Zip files have no explicit directories, they are implicitly created during extraction time
1057
    // when file entries have paths in them.
1058
    // However, to support empty directories, we must create a dummy file entry which ends with '/'.
1059
    TQString dirName = name;
1060
    if (!name.endsWith("/")) {
1061
        dirName = dirName.append('/');
1062
    }
1063
1064
    mode_t perm = 040755;
1065
    time_t the_time = time(0);
1066
    return writeFile(dirName, user, group, 0, perm, the_time, the_time, the_time, 0);
1067
}
1068
1054
// Doesn't need to be reimplemented anymore. Remove for KDE-4.0
1069
// Doesn't need to be reimplemented anymore. Remove for KDE-4.0
1055
bool KZip::writeFile( const TQString& name, const TQString& user, const TQString& group, uint size, const char* data )
1070
bool KZip::writeFile( const TQString& name, const TQString& user, const TQString& group, uint size, const char* data )
1056
{
1071
{
(-)./kio/kio/kzip.h.ORI (-4 / +1 lines)
Lines 191-200 Link Here
191
    /// Closes the archive
191
    /// Closes the archive
192
    virtual bool closeArchive();
192
    virtual bool closeArchive();
193
193
194
    /**
194
    virtual bool writeDir(const QString& name, const QString& user, const QString& group);
195
     * @internal Not needed for zip
196
     */
197
    virtual bool writeDir( const TQString& name, const TQString& user, const TQString& group) { Q_UNUSED(name); Q_UNUSED(user); Q_UNUSED(group); return true; }
198
    // TODO(BIC) uncomment and make virtual for KDE 4.
195
    // TODO(BIC) uncomment and make virtual for KDE 4.
199
//    bool writeDir( const TQString& name, const TQString& user, const TQString& group,
196
//    bool writeDir( const TQString& name, const TQString& user, const TQString& group,
200
//                        mode_t perm, time_t atime, time_t mtime, time_t ctime );
197
//                        mode_t perm, time_t atime, time_t mtime, time_t ctime );

Return to bug 1525