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 mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/weechat-dev

Reply via email to