diff options
author | Guillem Jover <guillem@hadrons.org> | 2019-07-20 04:24:32 +0200 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-11-12 21:39:08 +0700 |
commit | 65c5d72e311294dcf823a35bb195ed7241845537 (patch) | |
tree | e977550801b96e10929f2beac26987f7e4026a3f /tools | |
parent | 8bd8bf4becf543fccb415493285ef578c15e8c15 (diff) | |
download | acl-65c5d72e311294dcf823a35bb195ed7241845537.tar.gz |
Remove PATH_MAX usage which does not exist on GNU/Hurd
The Hurd is intended to have no hardcoded limits, and POSIX makes it
possible for a system to not define PATH_MAX. Switch to the simpler
solution which is to generate the constants at compile time.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/parse.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/parse.c b/tools/parse.c index f052400..78ae49a 100644 --- a/tools/parse.c +++ b/tools/parse.c @@ -413,11 +413,6 @@ read_acl_comments( mode_t *flags) { int c; - /* - Max PATH_MAX bytes even for UTF-8 path names and additional 9 - bytes for "# file: ". Not a good solution but for now it is the - best I can do without too much impact on the code. [tw] - */ char *line, *cp, *p; int comments_read = 0; |