diff options
author | dllud | 2021-06-03 20:39:42 +0100 |
---|---|---|
committer | dllud | 2021-06-03 20:39:42 +0100 |
commit | 54dadee2b45deb60919b1f11140b7bd7a838322a (patch) | |
tree | ad5a4da1c4d731bd4fd0192d2112adb6a8fe6a49 /do-not-replace-dots.patch | |
parent | 16b2e7515e317ffe97861bd296337f0e6a3e8edc (diff) | |
download | aur-54dadee2b45deb60919b1f11140b7bd7a838322a.tar.gz |
Patching is no longer needed.
Diffstat (limited to 'do-not-replace-dots.patch')
-rw-r--r-- | do-not-replace-dots.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/do-not-replace-dots.patch b/do-not-replace-dots.patch deleted file mode 100644 index 0339f76933db..000000000000 --- a/do-not-replace-dots.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/setfname.cpp b/setfname.cpp -index 6eac756..5ae89e1 100644 ---- a/setfname.cpp -+++ b/setfname.cpp -@@ -65,14 +65,8 @@ bool file::vmodify(const char* fname, const function& edit) const - } - - string name = edited; -- int dot = 1; - for(string::iterator p = name.end()-1; p != name.begin()-1; --p) { - if(!portable_fn(*p)) *p = '_'; // replace ill. chars -- if(*p == '.') { -- if(dot-- <= 0) { -- *p = '_'; -- } -- } - } - if(const char* psep = strrchr(fname, '/')) { - name.insert(0, fname, psep-fname+1); // copy path prefix |