guile-devel
[Top][All Lists]
Advanced

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

Re: gethostname max len


From: Kevin Ryde
Subject: Re: gethostname max len
Date: Mon, 22 Mar 2004 11:02:55 +1000
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)

Wolfgang Jaehrling <address@hidden> writes:
>
> Which is what Guile probably also should do, otherwise it won't work
> correctly on the GNU system, which has no limit on the length of host
> names;

Oh, is that how the -1 is to be understood?  Nosing around the glibc
sources it looked only like it didn't have an implementation for
HOST_NAME_MAX yet.

> the current code that checks for ENAMETOOLONG looks quite
> GNU/Linux-specific.

Yep.  (I'm not proposing to change that, only to get a better first
size for the buffer.)




reply via email to

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