diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-06-14 13:44:31 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-06-19 16:34:50 +0200 |
commit | ded614d7dbc930e373d1a69a0d2a7e4bf0a2c6d3 (patch) | |
tree | d40f031f6faf4c5784626529604a1d9ea14d50fd /mysys/my_symlink.c | |
parent | 48429359d6bb6382245f1949c458f8219996aa4a (diff) | |
download | mariadb-git-ded614d7dbc930e373d1a69a0d2a7e4bf0a2c6d3.tar.gz |
MDEV-12778 mariadb-10.1 FTBFS on GNU/Hurd due to use of PATH_MAX
Diffstat (limited to 'mysys/my_symlink.c')
-rw-r--r-- | mysys/my_symlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_symlink.c b/mysys/my_symlink.c index ed35fff41e9..12959f1f24a 100644 --- a/mysys/my_symlink.c +++ b/mysys/my_symlink.c @@ -197,7 +197,7 @@ int my_realpath(char *to, const char *filename, myf MyFlags) const char *my_open_parent_dir_nosymlinks(const char *pathname, int *pdfd) { - char buf[PATH_MAX+1]; + char buf[FN_REFLEN + 1]; char *s= buf, *e= buf+1, *end= strnmov(buf, pathname, sizeof(buf)); int fd, dfd= -1; |