| To: | Andreas Voegele <voegelas@gmx.net> |
|---|---|
| Subject: | Re: get-host-name uses MAXHOSTNAMELEN |
| From: | Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de> |
| Date: | Mon, 02 Jun 2003 07:10:48 +0200 |
| Cc: | scsh-news@zurich.ai.mit.edu |
Andreas Voegele <voegelas@gmx.net> writes: > --=-=-= > Content-Disposition: inline > > I'm trying to build scsh on a GNU/Hurd system. Since POSIX does not > specify MAXHOSTNAMELEN the Hurd does not define this value, which is > used by s48_get_host_name() in c/unix/socket.c. > > I've modified s48_get_host_name() so that the host name is temporarily > stored in a dynamically allocated variable. The attached patch is > based on code from libinetutils/localhost.c (see > http://www.gnu.org/software/inetutils/). > I know about this patch and I am certainly willing to apply it if there is a complete port to Hurd. -- Martin |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | get-host-name uses MAXHOSTNAMELEN, Andreas Voegele |
|---|---|
| Next by Date: | Porting scsh to GNU/Hurd (was: get-host-name uses MAXHOSTNAMELEN), Andreas Voegele |
| Previous by Thread: | get-host-name uses MAXHOSTNAMELEN, Andreas Voegele |
| Next by Thread: | Porting scsh to GNU/Hurd (was: get-host-name uses MAXHOSTNAMELEN), Andreas Voegele |
| Indexes: | [Date] [Thread] [Top] [All Lists] |