1 $DragonFly: src/gnu/usr.bin/cvs/lib/Attic/xgethostname.c.patch,v 1.1 2005/04/18 20:22:42 dillon Exp $
2 --- ../../../../contrib/cvs-1.12.11/lib/xgethostname.c 2004-12-18 13:54:14.000000000 -0800
3 +++ xgethostname.c 2005-04-18 11:30:43.000000000 -0700
5 if (! hostname[size_1 - 1])
8 - else if (errno != 0 && errno != ENAMETOOLONG && errno != EINVAL)
9 + else if (errno != 0 && errno != ENAMETOOLONG && errno != EINVAL && errno != ENOMEM)
11 int saved_errno = errno;