about summary refs log tree commit diff
diff options
context:
space:
mode:
-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.