Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Faustin Lammler
mariadb-10.1
Commits
08bedb3b
Commit
08bedb3b
authored
Oct 31, 2016
by
Samuel Thibault
Browse files
Also avoid non-working socket path length check on hurd-i386
patches/hurd_socket.patch
parent
2b8bea61
Changes
3
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
08bedb3b
...
@@ -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
...
...
debian/patches/hurd_socket.patch
0 → 100644
View file @
08bedb3b
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;
debian/patches/series
View file @
08bedb3b
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment