[AVFS] Missing #include <limits.h> in release 1.1.2

Ali <[email protected]> Wed, 1 Jul 2020 10:22:17 +0200
Newsgroups gmane.comp.file-systems.avfs.user
Message-ID <CALwbKTD5v2=Ku=C=sNb2eN9eSK7uxkfOifK4O3Oe2a4fCh4H9Q@mail.gmail.com>
--===============6853036544412533850==
Content-Type: multipart/alternative; boundary="00000000000018d6f905a95cfebd"

--00000000000018d6f905a95cfebd
Content-Type: text/plain; charset="UTF-8"

Hey,

I am taking care of updating the Homebrew formula for macOS (see
https://github.com/Homebrew/homebrew-core/pull/56841)

Right now when compiling 1.1.2 you get this error.

urar.c:827:24: error: use of undeclared identifier 'PATH_MAX'
    if (name_length <= PATH_MAX) {
                       ^1 error generated.


modules/urar.c needs a #include <limits.h> added.

Can you add it or do you accept patches and can do another patch level
release?
Best regards
Alex

--00000000000018d6f905a95cfebd
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hey,</div><div><br></div><div>I am taking care of upd=
ating the Homebrew formula for macOS (see=C2=A0<a href=3D"https://github.co=
m/Homebrew/homebrew-core/pull/56841">https://github.com/Homebrew/homebrew-c=
ore/pull/56841</a>)</div><div><br>Right now when compiling 1.1.2 you get th=
is error.<div class=3D"gmail-highlight gmail-highlight-source-c" style=3D"b=
ox-sizing:border-box;margin-bottom:16px;overflow:visible"><pre style=3D"col=
or:rgb(36,41,46);font-family:SFMono-Regular,Consolas,&quot;Liberation Mono&=
quot;,Menlo,monospace;box-sizing:border-box;margin-top:0px;margin-bottom:0p=
x;padding:16px;overflow:auto;line-height:1.45;background-color:rgb(246,248,=
250);border-radius:6px;word-break:normal">urar.c:<span class=3D"gmail-pl-c1=
" style=3D"box-sizing:border-box;color:rgb(0,92,197)">827</span>:<span clas=
s=3D"gmail-pl-c1" style=3D"box-sizing:border-box;color:rgb(0,92,197)">24</s=
pan>: error: use of undeclared identifier <span class=3D"gmail-pl-s" style=
=3D"box-sizing:border-box;color:rgb(3,47,98)"><span class=3D"gmail-pl-pds" =
style=3D"box-sizing:border-box">&#39;</span>PATH_MAX<span class=3D"gmail-pl=
-pds" style=3D"box-sizing:border-box">&#39;</span></span>
    <span class=3D"gmail-pl-k" style=3D"box-sizing:border-box;color:rgb(215=
,58,73)">if</span> (name_length &lt;=3D PATH_MAX) {
                       ^
<span class=3D"gmail-pl-c1" style=3D"box-sizing:border-box;color:rgb(0,92,1=
97)">1</span> error generated.</pre><br><code style=3D"box-sizing:border-bo=
x;font-family:SFMono-Regular,Consolas,&quot;Liberation Mono&quot;,Menlo,mon=
ospace;padding:0.2em 0.4em;margin:0px;background-color:rgba(27,31,35,0.05);=
border-radius:6px">modules/urar.c</code>=C2=A0needs a=C2=A0<code style=3D"b=
ox-sizing:border-box;font-family:SFMono-Regular,Consolas,&quot;Liberation M=
ono&quot;,Menlo,monospace;padding:0.2em 0.4em;margin:0px;background-color:r=
gba(27,31,35,0.05);border-radius:6px">#include &lt;limits.h&gt;</code>=C2=
=A0added.<br><br>Can you add it or do you accept patches and can do another=
 patch level release?</div></div><div class=3D"gmail-highlight gmail-highli=
ght-source-c" style=3D"box-sizing:border-box;margin-bottom:16px;overflow:vi=
sible">Best regards</div><div class=3D"gmail-highlight gmail-highlight-sour=
ce-c" style=3D"box-sizing:border-box;margin-bottom:16px;overflow:visible">A=
lex</div></div>

--00000000000018d6f905a95cfebd--


--===============6853036544412533850==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============6853036544412533850==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Avf-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avf-user

--===============6853036544412533850==--