gethostname02 expects ENAMETOOLONG when the buffer is too small. On alpha it fails because glibc returns EOVERFLOW instead. Should the test accept both errnos, or should this be fixed in glibc?
gethostname02 expects ENAMETOOLONG when the buffer is too small.
On alpha it fails because glibc returns EOVERFLOW instead.
Should the test accept both errnos, or should this be fixed in glibc?