summaryrefslogtreecommitdiffhomepage
path: root/patches/at_spi2_core-2.26.2.local.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/at_spi2_core-2.26.2.local.patch')
-rw-r--r--patches/at_spi2_core-2.26.2.local.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/at_spi2_core-2.26.2.local.patch b/patches/at_spi2_core-2.26.2.local.patch
new file mode 100644
index 00000000..9c434eac
--- /dev/null
+++ b/patches/at_spi2_core-2.26.2.local.patch
@@ -0,0 +1,12 @@
+diff -ru at-spi2-core-2.16.0.orig/bus/at-spi-bus-launcher.c at-spi2-core-2.16.0/bus/at-spi-bus-launcher.c
+--- at-spi2-core-2.16.0.orig/bus/at-spi-bus-launcher.c 2015-03-05 06:04:20.000000000 +0200
++++ at-spi2-core-2.16.0/bus/at-spi-bus-launcher.c 2015-10-25 16:00:32.158127066 +0200
+@@ -104,7 +104,7 @@
+ {
+ ssize_t bytes_read;
+
+- while (max_bytes > 1 && (bytes_read = read (fd, buf, MAX (4096, max_bytes - 1))))
++ while (max_bytes > 1 && (bytes_read = read (fd, buf, max_bytes - 1)))
+ {
+ if (bytes_read < 0)
+ return FALSE;