about summary refs log tree commit diff
path: root/posix/sys/utsname.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1995-07-17 13:16:15 +0000
committerUlrich Drepper <drepper@redhat.com>1995-07-17 13:16:15 +0000
commit787429e3f0038df0229b7e0f4cbb4cd06ae36a01 (patch)
tree021339485440ea48ac80745629b1c7b6f08c4436 /posix/sys/utsname.h
parent9a70fcabea9f4c3b330ee04469f6aafbd43b7c3b (diff)
downloadglibc-787429e3f0038df0229b7e0f4cbb4cd06ae36a01.tar.gz
glibc-787429e3f0038df0229b7e0f4cbb4cd06ae36a01.tar.xz
glibc-787429e3f0038df0229b7e0f4cbb4cd06ae36a01.zip
(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.
Diffstat (limited to 'posix/sys/utsname.h')
-rw-r--r--posix/sys/utsname.h5
1 files changed, 5 insertions, 0 deletions
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