Re: Help in testing a patch for efax-gtk FTBFS on hurd
On Tue, 2010-06-08 at 23:37 +0200, Emilio Pozuelo Monfort wrote:
> On 08/06/10 23:28, Iain R. Learmonth wrote:
> > On Tue, 2010-06-08 at 21:58 +0200, Emilio Pozuelo Monfort wrote:
> >>> +// there can be certain circumstances where PIPE_BUF is not
> >>> +// defined in <limits.h>. If so, just define the minimum
> >>> +// required by POSIX
> >>> +#ifndef PIPE_BUF
> >>> +#define PIPE_BUF 512
> >>> +#endif
> >> This looks more like a hack than a fix, though I'm not completely sure.
> > I agree, the problem here is with limits.h
> Not really. The point is that there's no such limits on Hurd (e.g. max hostname
> length, max pathname length...).
The limits may not physically exist, but for applications looking for
them, wouldn't it be good to have that compatibility built in?
> You may want to CC the list :)