Commit 08bedb3b authored by Samuel Thibault's avatar Samuel Thibault
Browse files

Also avoid non-working socket path length check on hurd-i386

patches/hurd_socket.patch
parent 2b8bea61
...@@ -2,6 +2,10 @@ mariadb-10.0 (10.0.28-2) UNRELEASED; urgency=low ...@@ -2,6 +2,10 @@ mariadb-10.0 (10.0.28-2) UNRELEASED; urgency=low
* Open a new changelog entry * Open a new changelog entry
[ Samuel Thibault ]
* patches/hurd_socket.patch: Also avoid non-working socket path length check
on hurd-i386.
-- Otto Kekäläinen <otto@debian.org> Sun, 30 Oct 2016 13:33:22 +0200 -- Otto Kekäläinen <otto@debian.org> Sun, 30 Oct 2016 13:33:22 +0200
mariadb-10.0 (10.0.28-1) unstable; urgency=low mariadb-10.0 (10.0.28-1) unstable; urgency=low
......
Description: Do not check socket path truncation on hurd either
On GNU/Hurd perl's $sock->hostpath() can't work since the path is not recorded
in the socket internals. GNU/Hurd doesn't have any socket path limitation
anyway, so the attached proposed patch just skips the check.
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
--- a/mysql-test/lib/My/Platform.pm.original 2016-10-31 00:31:33.000000000 +0000
+++ b/mysql-test/lib/My/Platform.pm 2016-10-31 00:32:37.000000000 +0000
@@ -112,6 +112,8 @@
return 0 if ($^O eq 'aix');
# See Debian bug #670722 - failing on kFreeBSD even after setting short path
return 0 if $^O eq 'gnukfreebsd' and length $path < 40;
+ # GNU/Hurd doesn't have hostpath(), but no limitation either.
+ return 0 if $^O eq 'gnu';
require IO::Socket::UNIX;
...@@ -20,3 +20,4 @@ mips-groonga-atomic.patch ...@@ -20,3 +20,4 @@ mips-groonga-atomic.patch
mips-connect-unaligned.patch mips-connect-unaligned.patch
mips-machine.patch mips-machine.patch
mips-unstable-tests.patch mips-unstable-tests.patch
hurd_socket.patch
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment