Re: pdns: FTBFS on hurd-i386 (for review)

2014-06-25 Thread Samuel Thibault
Svante Signell, le Wed 25 Jun 2014 13:37:39 +0200, a écrit : > On Wed, 2014-06-25 at 13:10 +0200, Samuel Thibault wrote: > > Svante Signell, le Wed 25 Jun 2014 13:01:49 +0200, a écrit : > > > @@ -483,7 +484,9 @@ bool ArgvMap::file(const char *fname, bo > > > if (ent->d_name[0] == '.') con

Re: pdns: FTBFS on hurd-i386 (for review)

2014-06-25 Thread Svante Signell
On Wed, 2014-06-25 at 13:10 +0200, Samuel Thibault wrote: > Svante Signell, le Wed 25 Jun 2014 13:01:49 +0200, a écrit : > > @@ -483,7 +484,9 @@ bool ArgvMap::file(const char *fname, bo > > if (ent->d_name[0] == '.') continue; // skip any dots > > if (boost::ends_with(ent->d_nam

Re: pdns: FTBFS on hurd-i386 (for review)

2014-06-25 Thread Samuel Thibault
Svante Signell, le Wed 25 Jun 2014 13:01:49 +0200, a écrit : > @@ -483,7 +484,9 @@ bool ArgvMap::file(const char *fname, bo > if (ent->d_name[0] == '.') continue; // skip any dots > if (boost::ends_with(ent->d_name, ".conf")) { > // ensure it's readable file > -

pdns: FTBFS on hurd-i386 (for review)

2014-06-25 Thread Svante Signell
Source: pdns Version: 3.3.1-4 Severity: important Tags: patch User: debian-hurd@lists.debian.org Usertags: hurd Hi, pdns fails to build from source on GNU/Hurd due to two reasons: 1) pdns/arguments.cc: PATH_MAX is not defined on GNU/Hurd. Replace that construct with the usage of the st_size para

Re: pdns: FTBFS on hurd-i386 (for review)

2014-02-06 Thread Samuel Thibault
Svante Signell, le Wed 29 Jan 2014 13:47:34 +0100, a écrit : > --- a/pdns/arguments.cc 2014-01-28 12:46:42.0 +0100 > +++ b/pdns/arguments.cc 2014-01-28 13:25:29.0 +0100 > @@ -459,7 +459,8 @@ bool ArgvMap::file(const char *fname, bo >struct stat st; >DIR *

Re: pdns: FTBFS on hurd-i386 (for review)

2014-01-29 Thread Svante Signell
On Wed, 2014-01-29 at 22:08 +0800, Anatoly A. Kazantsev wrote: > Hello Svante, > > On Wed, 29 Jan 2014 13:47:34 +0100 > Svante Signell wrote: > > > -snprintf(namebuf, sizeof namebuf, "%s/%s", > > params["include-dir"].c_str(), ent->d_name); > > + len = st.st_size + 1 + strlen(

Re: pdns: FTBFS on hurd-i386 (for review)

2014-01-29 Thread Anatoly A. Kazantsev
Hello Svante, On Wed, 29 Jan 2014 13:47:34 +0100 Svante Signell wrote: > -snprintf(namebuf, sizeof namebuf, "%s/%s", > params["include-dir"].c_str(), ent->d_name); > + len = st.st_size + 1 + strlen(ent->d_name) + 1; > + namebuf = (char*)malloc(len); > +sn

pdns: FTBFS on hurd-i386 (for review)

2014-01-29 Thread Svante Signell
(Sent to debian-hurd for review) Source: pdns Version: 3.3-2 Severity: important Tags: patch User: debian-hurd@lists.debian.org Usertags: hurd Hi, pdns fails to build from source on GNU/Hurd due to two reasons: 1) pdns/arguments.cc: PATH_MAX is not defined on GNU/Hurd. Replace that construct wi