aboutsummaryrefslogtreecommitdiffstats
path: root/testing/polybar/fix-wstringop-truncation.patch
diff options
context:
space:
mode:
authorAnjandev Momi <anjan@momi.ca>2020-05-03 02:25:11 -0700
committerLeo <thinkabit.ukim@gmail.com>2020-05-03 22:56:34 +0000
commit93451e3aed586e302f9f3063da5d4c0b4aeff4ba (patch)
tree4907d18c2a7be3e4c686148bf6610681f0bb6f28 /testing/polybar/fix-wstringop-truncation.patch
parent885a44936ac3378643e7b47573cfa0122e1245e5 (diff)
downloadaports-93451e3aed586e302f9f3063da5d4c0b4aeff4ba.tar.bz2
aports-93451e3aed586e302f9f3063da5d4c0b4aeff4ba.tar.xz
community/polybar: move from testing
Diffstat (limited to 'testing/polybar/fix-wstringop-truncation.patch')
-rw-r--r--testing/polybar/fix-wstringop-truncation.patch11
1 files changed, 0 insertions, 11 deletions
diff --git a/testing/polybar/fix-wstringop-truncation.patch b/testing/polybar/fix-wstringop-truncation.patch
deleted file mode 100644
index cdf1eac808..0000000000
--- a/testing/polybar/fix-wstringop-truncation.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/lib/i3ipcpp/src/ipc-util.cpp
-+++ b/lib/i3ipcpp/src/ipc-util.cpp
-@@ -34,7 +34,7 @@
- data = new uint8_t[size];
- header = (header_t*)data;
- payload = (char*)(data + sizeof(header_t));
-- strncpy(header->magic, g_i3_ipc_magic.c_str(), sizeof(header->magic));
-+ memcpy(header->magic, g_i3_ipc_magic.c_str(), sizeof(header->magic));
- header->size = payload_size;
- header->type = 0x0;
- }