aboutsummaryrefslogtreecommitdiff
path: root/posix/sys
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
parent9a70fcabea9f4c3b330ee04469f6aafbd43b7c3b (diff)
downloadglibc-787429e3f0038df0229b7e0f4cbb4cd06ae36a01.zip
glibc-787429e3f0038df0229b7e0f4cbb4cd06ae36a01.tar.gz
glibc-787429e3f0038df0229b7e0f4cbb4cd06ae36a01.tar.bz2
(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')
-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 16435ba..9d4ea6c 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