summaryrefslogtreecommitdiff
path: root/freefilesync
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-04-21 09:12:27 -0400
committerB Stack <bgstack15@gmail.com>2020-04-21 09:12:27 -0400
commit43bc1c9a1851aa9115cd44089296a9c0eaf72136 (patch)
tree570fed5fe1d148382059db6aff6ba6f68ead5d12 /freefilesync
parentffs 10.23 rpm rc1 (diff)
downloadstackrpms-43bc1c9a1851aa9115cd44089296a9c0eaf72136.tar.gz
stackrpms-43bc1c9a1851aa9115cd44089296a9c0eaf72136.tar.bz2
stackrpms-43bc1c9a1851aa9115cd44089296a9c0eaf72136.zip
adjust ffs_no_eraseif for el7,el8
Diffstat (limited to 'freefilesync')
-rw-r--r--freefilesync/ffs_no_eraseif.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/freefilesync/ffs_no_eraseif.patch b/freefilesync/ffs_no_eraseif.patch
index 1df8ef5..d20fd81 100644
--- a/freefilesync/ffs_no_eraseif.patch
+++ b/freefilesync/ffs_no_eraseif.patch
@@ -185,15 +185,15 @@ diff -x '*.swp' -x .git -x '*.orig' -x '*.rej' -Naur 10.18-1/FreeFileSync/Source
cfg.directories.assign(uniqueFolders.begin(), uniqueFolders.end());
cfg.commandline = Zstr('"') + fff::getFreeFileSyncLauncherPath() + Zstr("\" \"") + filePath + Zstr('"');
}
-diff -x '*.swp' -x .git -x '*.orig' -x '*.rej' -Naur 10.18-1/FreeFileSync/Source/RealTimeSync/monitor.cpp 10.18-2/FreeFileSync/Source/RealTimeSync/monitor.cpp
---- 10.18-1/FreeFileSync/Source/RealTimeSync/monitor.cpp 2019-11-20 16:15:55.822668055 -0500
-+++ 10.18-2/FreeFileSync/Source/RealTimeSync/monitor.cpp 2019-11-20 17:57:30.560558406 -0500
-@@ -163,7 +163,7 @@
- {
- std::vector<DirWatcher::Entry> changedItems = watcher->getChanges([&] { requestUiUpdate(false /*readyForSync*/); /*throw X*/ },
- cbInterval); //throw FileError
-- std::erase_if(changedItems, [](const DirWatcher::Entry& e)
-+ eraseIf(changedItems, [](const DirWatcher::Entry& e)
+diff -x '*.swp' -x .git -x '*.orig' -x '*.rej' -Naur 10.23-0/FreeFileSync/Source/RealTimeSync/monitor.cpp 10.23-1/FreeFileSync/Source/RealTimeSync/monitor.cpp
+--- 10.23-0/FreeFileSync/Source/RealTimeSync/monitor.cpp 2020-04-21 08:03:55.508842092 -0400
++++ 10.23-1/FreeFileSync/Source/RealTimeSync/monitor.cpp 2020-04-21 09:10:54.765302811 -0400
+@@ -152,7 +152,7 @@
+ if (change.type == DirWatcher::ChangeType::baseFolderUnavailable)
+ return change;
+
+- std::erase_if(changes, [](const DirWatcher::Change& e)
++ eraseIf(changes, [](const DirWatcher::Change& e)
{
return
endsWith(e.itemPath, Zstr(".ffs_tmp")) || //sync.8ea2.ffs_tmp
bgstack15