From 787429e3f0038df0229b7e0f4cbb4cd06ae36a01 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 17 Jul 1995 13:16:15 +0000 Subject: (categories_write): Fix two bugs with handling string arrays. If writing a locale file fails, test whether it is an directory. In this case create LC_xxx/SYS_LC_xxx instead of LC_xxx. This is what the C Library functions to while loading. --- posix/sys/utsname.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'posix') diff --git a/posix/sys/utsname.h b/posix/sys/utsname.h index 16435baf86..9d4ea6c4ad 100644 --- a/posix/sys/utsname.h +++ b/posix/sys/utsname.h @@ -48,6 +48,11 @@ struct utsname /* Name of the hardware type the system is running on. */ char machine[_UTSNAME_LENGTH]; + +#if _UTSNAME_DOMAIN_LENGTH - 0 + /* Name of the domain of this node on the network. */ + char domainname[_UTSNAME_DOMAIN_LENGTH]; +#endif }; #ifdef __USE_SVID -- cgit 1.4.1