Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323:test
kio
v1.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File v1.patch of Package kio
diff --git a/src/ioslaves/file/file.cpp b/src/ioslaves/file/file.cpp index a25fd8ce..a8ccd2dc 100644 --- a/src/ioslaves/file/file.cpp +++ b/src/ioslaves/file/file.cpp @@ -274,6 +274,7 @@ void FileProtocol::setModificationTime(const QUrl &url, const QDateTime &mtime) QT_STATBUF statbuf; if (QT_LSTAT(QFile::encodeName(path).constData(), &statbuf) == 0) { struct utimbuf utbuf; +qDebug() << "Wolfi: FileProtocol::setModificationTime(), actime=" << statbuf.st_atime; utbuf.actime = statbuf.st_atime; // access time, unchanged utbuf.modtime = mtime.toSecsSinceEpoch(); // modification time if (::utime(QFile::encodeName(path).constData(), &utbuf) != 0) { @@ -793,6 +794,7 @@ void FileProtocol::put(const QUrl &url, int _mode, KIO::JobFlags _flags) #ifndef Q_OS_WIN struct timeval utbuf[2]; // access time +qDebug() << "Wolfi: utbuf[0].tv_sec=" << dest_statbuf.st_atime; utbuf[0].tv_sec = dest_statbuf.st_atime; // access time, unchanged ## TODO preserve msec utbuf[0].tv_usec = 0; // modification time
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor