From 4b35f9f9877b9d9614668ad82806b048983536d7 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 11 Apr 2011 10:06:25 +0200 Subject: Fix xgethostname link --- hurd/porting/guidelines.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hurd') diff --git a/hurd/porting/guidelines.mdwn b/hurd/porting/guidelines.mdwn index 030a4d06..6325af6d 100644 --- a/hurd/porting/guidelines.mdwn +++ b/hurd/porting/guidelines.mdwn @@ -64,7 +64,7 @@ Same rationale as `PATH_MAX`. There is no limit on the number of iovec items. ## `MAXHOSTNAMELEN` -Same as `PATH_MAX`. When you find a `gethostname()` function, which acts on a static buffer, you can replace it with Neal's [xgethostname function](http://ftp.walfield.org/pub/people/neal/xgethostname/) which returns the hostname as a dynamic buffer. For example: +Same as `PATH_MAX`. When you find a `gethostname()` function, which acts on a static buffer, you can replace it with Neal's [xgethostname function](http://ftp.walfield.org/pub/people/neal/xgethostname/ or http://lists.mindrot.org/pipermail/openssh-unix-dev/2002-April/012248.html) which returns the hostname as a dynamic buffer. For example: Buggy code: -- cgit v1.2.3