diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-06 22:19:13 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-06 22:19:13 +0100 |
commit | 01c7e549b2b978e69d6509864d4d067c555cb81b (patch) | |
tree | bb5e0f962392e8355ec64c4eb9e561684d265243 /posix | |
parent | 107a35a5751586926dbc0fed4d044a34f79c084e (diff) | |
download | glibc-01c7e549b2b978e69d6509864d4d067c555cb81b.zip glibc-01c7e549b2b978e69d6509864d4d067c555cb81b.tar.gz glibc-01c7e549b2b978e69d6509864d4d067c555cb81b.tar.bz2 |
hurd: Fix posix glob test
* posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
Diffstat (limited to 'posix')
-rw-r--r-- | posix/tst-glob_symlinks.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/posix/tst-glob_symlinks.c b/posix/tst-glob_symlinks.c index 0f3478d..df3baa8 100644 --- a/posix/tst-glob_symlinks.c +++ b/posix/tst-glob_symlinks.c @@ -57,6 +57,9 @@ create_link (const char *base, const char *fname, char *linkname, add_temp_file (linkname); } +#ifndef PATH_MAX +# define PATH_MAX 1024 +#endif static char valid_link[PATH_MAX]; static char dangling_link[PATH_MAX]; static char dangling_dir[PATH_MAX]; |