screen-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [screen-devel] [bug #50089] Screen 4.5.0 doesn't build on SunOS


From: Axel Beckert
Subject: Re: [screen-devel] [bug #50089] Screen 4.5.0 doesn't build on SunOS
Date: Mon, 30 Jan 2017 23:45:51 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi Alex,

thanks for looking into this.

On Mon, Jan 30, 2017 at 11:08:53PM +0100, Alex Naumov wrote:
> On Thu, Jan 19, 2017 at 2:04 PM, Axel Beckert <address@hidden> wrote:
> > Of course it would be nice if this would be solved in a cleaner way for an
> > official fix.
> 
> Like this?
> 
> #ifndef PATH_MAX
> # ifdef _POSIX_PATH_MAX
> # define PATH_MAX _POSIX_PATH_MAX
> # endif
> #endif

No, that's not what I had in mind. There is no such limit on Hurd, so
IMHO the code shouldn't enforce one.

> Does GNU/Hurd know about _POSIX_PATH_MAX?

It seems to, but that's just a little bit less ugly than what I did.

Please see
https://www.gnu.org/software/hurd/community/gsoc/project_ideas/maxpath.html
and
https://www.gnu.org/software/hurd/hurd/porting/guidelines.html#PATH_MAX_tt_MAX_PATH_tt_MAXPATHL

The latter suggests to define PATH_MAX as NULL, but there might be
some corner cases where it needs more than just using NULL, maybe some
additional checks for the value of PATH_MAX or so.

                Kind regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | address@hidden  (Mail)
 X   See http://www.nonhtmlmail.org/campaign.html | address@hidden (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://abe.noone.org/ (Web)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]