Re: fix xgethostname on OSX [patch]

2005-02-21 Thread Jim Meyering
Mark D. Baushke [EMAIL PROTECTED] wrote: ... 2) It seems that the patch you sent was stripped by the list software on gnu.org (normally it throws away attachments of any kind). ... I am adding [EMAIL PROTECTED] to this message so that they see a description of your problem. They

fix xgethostname on OSX [patch]

2005-02-20 Thread Neil Conway
The attached one-liner fixes a bug in xgethostname on OSX. It appears that gethostname() on OSX will return ENOMEM via errno if the buffer that was passed is not sufficiently large to hold the hostname (although this isn't documented in the gethostname(3) OSX manpage). The implementation of

Re: fix xgethostname on OSX [patch]

2005-02-20 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Neil, A few points... 1) Please do not use MIME formats in message to the bug-cvs@gnu.org list. 2) It seems that the patch you sent was stripped by the list software on gnu.org (normally it throws away attachments of any