CVS was seg-faulting on systems with hostnames greater then 34 characters
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 18 Apr 2005 20:22:42 +0000 (20:22 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 18 Apr 2005 20:22:42 +0000 (20:22 +0000)
commit3c6f7e199c5400c520f9c6446ebab542a320212a
tree2fa960ec648e5cebe4cc8df6d06c594ec31c24f1
parent28a671b7c415e3eb05a8fd8905e8ee305b7fb9e6
CVS was seg-faulting on systems with hostnames greater then 34 characters
long due to assuming that gethostname() would return ENAMETOOLONG.  In
FreeBSD/DragonFly it returns ENOMEM.  Use our auto-patching mechanism to
patch in the additional error code.

Reported-by: Jeroen Ruigrok/asmodai <asmodai@wxs.nl>
gnu/usr.bin/cvs/lib/Makefile
gnu/usr.bin/cvs/lib/xgethostname.c.patch [new file with mode: 0644]