diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-04-11 10:06:25 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-04-12 09:03:25 +0200 |
commit | 4b35f9f9877b9d9614668ad82806b048983536d7 (patch) | |
tree | c256bce36d0f0db105d8547852e1f5b6a5044687 /hurd | |
parent | c8b9b7f744338cd7bfc65bf0c5d9066e5296bb03 (diff) |
Fix xgethostname link
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/porting/guidelines.mdwn | 2 |
1 files changed, 1 insertions, 1 deletions
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. ## <a name="MAXHOSTNAMELEN_tt_"> `MAXHOSTNAMELEN` </a> -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: |