chinmoyr created this revision. chinmoyr added a reviewer: dfaure. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: Frameworks. chinmoyr requested review of this revision.
REVISION SUMMARY When executing an action with elevated privileges file ioslave directly checks errno and then decides whether to continue or not. Since errno can change frequently between function call it should not be relied upon. With this patch after a function fails errno value is saved and then that saved value is used wherever required. REPOSITORY R241 KIO BRANCH master REVISION DETAIL https://phabricator.kde.org/D10266 AFFECTED FILES src/ioslaves/file/file.cpp src/ioslaves/file/file.h src/ioslaves/file/file_p.h src/ioslaves/file/file_unix.cpp src/ioslaves/file/file_win.cpp To: chinmoyr, dfaure Cc: #frameworks, michaelh, ngraham