bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inetd and whois


From: Marcus Brinkmann
Subject: Re: inetd and whois
Date: Sat, 3 Aug 2002 22:00:54 +0200
User-agent: Mutt/1.4i

On Sat, Aug 03, 2002 at 09:52:27PM +0200, Marco d'Itri wrote:
> I could not have done the same thing in the same time starting with
> inetutils code. I know that my code may not work on hurd (actually I
> have no idea why and how hurd is different),

If you avoid optional restrictions in POSIX, like PATH_MAX and MAXPATHLEN,
and HOST_MAX or MAXHOTNAMELEN, but instead write the programs to work
without such limits (checking for ENAMETOOLONG etc), and if you avoid very
old interfaces like sys_errlist and termio (using strerror and termios
instead), then chances are good it will just work.  The aforementioned
things are the main issues of non-portable software not running on the Hurd.

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    address@hidden
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
address@hidden
http://www.marcus-brinkmann.de/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]