[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] autogen: fix definition of MAXPATHLEN
From: |
Pino Toscano |
Subject: |
[PATCH] autogen: fix definition of MAXPATHLEN |
Date: |
Sun, 13 Oct 2013 19:34:08 +0200 |
User-agent: |
KMail/4.10.5 (Linux/3.10-2-amd64; KDE/4.10.5; x86_64; ; ) |
Hi,
attached there is a patch for autogen to fix the definition of
MAXPATHLEN when not defined already (either not directly or because
PATH_MAX is not defined either).
This caused a build failure in sharutils (which embeds the libopts part
of autogen) on GNU/Hurd (which provides no PATH_MAX nor MAXPATHLEN) [1].
This happens because in autogen's autoopts.h there is:
# if defined(PATH_MAX) && (PATH_MAX > MAXPATHLEN)
which triggers a preprocessor parsing error when MAXPATHLEN is defined
as (size_t)4096.
[1]
https://buildd.debian.org/status/fetch.php?pkg=sharutils&arch=hurd-i386&ver=1%3A4.13.5-1&stamp=1381663210
Thanks,
--
Pino Toscano
0001-Fix-definition-of-MAXPATHLEN.patch
Description: Text Data
signature.asc
Description: This is a digitally signed message part.
- [PATCH] autogen: fix definition of MAXPATHLEN,
Pino Toscano <=
- Re: [PATCH] autogen: fix definition of MAXPATHLEN, Bruce Korb, 2013/10/14
- Re: [PATCH] autogen: fix definition of MAXPATHLEN, Pino Toscano, 2013/10/14
- Re: [PATCH] autogen: fix definition of MAXPATHLEN, Bruce Korb, 2013/10/14
- Re: [Autogen-users] [PATCH] autogen: fix definition of MAXPATHLEN, Bruce Korb, 2013/10/14
- Re: [Autogen-users] [PATCH] autogen: fix definition of MAXPATHLEN, Santiago Vila, 2013/10/14
- Re: [Autogen-users] [PATCH] autogen: fix definition of MAXPATHLEN, Bruce Korb, 2013/10/14
- Re: [Autogen-users] [PATCH] autogen: fix definition of MAXPATHLEN, Bruce Korb, 2013/10/15