Robert Millan <[email protected]> (22/08/2009): > > As the failing build is examples/echo/echo-server.cpp, I assumed a > > quick and dirty workaround might do, see the attached patch. FWIW, > > the _POSIX_HOST_NAME_MAX #define is in > > /usr/include/bits/posix1_lim.h, included through limits.h.
> This looks wrong. As I said, it is a *quick and dirty /workaround/*. > It should be using sysconf() like the comment above suggests. If > you disagree with what the comment says, you should be providing > HOST_NAME_MAX via limits.h. I didn't implement using sysconf() because of time constraints and lack of interest in fixing an *example* to use sysconf() for a random package that FTBFSes while there are many others left. So: I don't disagree with… what I was previously saying. Mraw, KiBi.
signature.asc
Description: Digital signature

