about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-03-21 18:53:05 +0000
committerUlrich Drepper <drepper@redhat.com>2001-03-21 18:53:05 +0000
commitcf4431ed2d72b47bbc36f9656b60b978d29a9dec (patch)
tree822a317584a9128bfe398a286a2dfa3f4ed929ce
parentdf4cada7cf22a1dce173351b29c8b183e6846acb (diff)
downloadglibc-cf4431ed2d72b47bbc36f9656b60b978d29a9dec.tar.gz
glibc-cf4431ed2d72b47bbc36f9656b60b978d29a9dec.tar.xz
glibc-cf4431ed2d72b47bbc36f9656b60b978d29a9dec.zip
Update.
2001-03-20  Andreas Schwab  <schwab@suse.de>

	* include/unistd.h: Adjust prototype of __gethostname.
-rw-r--r--ChangeLog4
-rw-r--r--include/unistd.h2
-rw-r--r--linuxthreads/ChangeLog7
3 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d3f204833f..1532959dab 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-03-20  Andreas Schwab  <schwab@suse.de>
+
+	* include/unistd.h: Adjust prototype of __gethostname.
+
 2001-03-20  Jakub Jelinek  <jakub@redhat.com>
 
 	* sysdeps/sparc/stackinfo.h: New file.
diff --git a/include/unistd.h b/include/unistd.h
index 3e258d35a5..b8bc8bbf72 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -77,7 +77,7 @@ extern int __link (__const char *__from, __const char *__to);
 extern int __symlink (__const char *__from, __const char *__to);
 extern int __readlink (__const char *__path, char *__buf, size_t __len);
 extern int __unlink (__const char *__name);
-extern int __gethostname (char *__name, socklen_t __len);
+extern int __gethostname (char *__name, size_t __len);
 extern int __profil (unsigned short int *__sample_buffer, size_t __size,
 		     size_t __offset, unsigned int __scale);
 extern int __getdtablesize (void);
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 6ad4a7bead..c201221b0f 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,10 @@
+2001-03-21  Jakub Jelinek  <jakub@redhat.com>
+
+	* attr.c (__pthread_attr_setstack): Fix alignment check.
+	(pthread_getattr_np): __stackaddr is top of stack, not bottom.
+	* Makefile (tests): Add ex17 test.
+	* Examples/ex17.c: New test.
+
 2001-03-20  Ulrich Drepper  <drepper@redhat.com>
 
 	* Makefile: Define -D_RPC_THREAD_SAFE_ for cancel.c.