[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Weechat-dev] [patch #7977] PATH_MAX isn't defined on Hurd
From: |
Andrew Potter |
Subject: |
[Weechat-dev] [patch #7977] PATH_MAX isn't defined on Hurd |
Date: |
Mon, 25 Mar 2013 02:01:08 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22 |
URL:
<http://savannah.nongnu.org/patch/?7977>
Summary: PATH_MAX isn't defined on Hurd
Project: WeeChat
Submitted by: talisein
Submitted on: Mon 25 Mar 2013 02:01:06 AM GMT
Category: script plugin
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
IRC nick: talisein
_______________________________________________________
Details:
Hurd doesn't define PATH_MAX, but it is assumed to exist in
src/plugins/script/script-repo.c
Attached patch uses POSIX 2008's extension to realpath() to avoid PATH_MAX,
and falls back to PATH_MAX or 4096 if unavailable.
A Debian Hurd user told me this fixes compilation for them.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 25 Mar 2013 02:01:06 AM GMT Name:
0001-script-realpath-fix-for-platforms-that-don-t-define-.patch Size: 2kB
By: talisein
<http://savannah.nongnu.org/patch/download.php?file_id=27671>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?7977>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [Weechat-dev] [patch #7977] PATH_MAX isn't defined on Hurd,
Andrew Potter <=