about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--libio/iofopen.c4
-rw-r--r--libio/iofopen64.c4
-rw-r--r--linuxthreads/ChangeLog15
4 files changed, 23 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 4301cb2d26..af588337e4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 1999-01-24  Ulrich Drepper  <drepper@cygnus.com>
 
+	* libio/iofopen.c (_IO_fopen): Pass correct value as fourth
+	parameter to _IO_file_fopen.
+	* libio/iofopen64.c (_IO_fopen64): Likewise.
+
 	* po/sv.po: Update from translation team.
 
 	* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add __vfork
diff --git a/libio/iofopen.c b/libio/iofopen.c
index e8f39ae9ac..92d58bb133 100644
--- a/libio/iofopen.c
+++ b/libio/iofopen.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1997, 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU IO Library.
 
    This library is free software; you can redistribute it and/or
@@ -52,7 +52,7 @@ _IO_new_fopen (filename, mode)
 #if  !_IO_UNIFIED_JUMPTABLES
   new_f->fp.vtable = NULL;
 #endif
-  if (_IO_file_fopen (&new_f->fp.file, filename, mode, 0) != NULL)
+  if (_IO_file_fopen (&new_f->fp.file, filename, mode, 1) != NULL)
     return (_IO_FILE *) &new_f->fp;
   _IO_un_link (&new_f->fp.file);
   free (new_f);
diff --git a/libio/iofopen64.c b/libio/iofopen64.c
index f5e799466d..b071a0e160 100644
--- a/libio/iofopen64.c
+++ b/libio/iofopen64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1993, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1997, 1999 Free Software Foundation, Inc.
    This file is part of the GNU IO Library.
 
    This library is free software; you can redistribute it and/or
@@ -53,7 +53,7 @@ _IO_fopen64 (filename, mode)
 #if  !_IO_UNIFIED_JUMPTABLES
   new_f->fp.vtable = NULL;
 #endif
-  if (_IO_file_fopen (&new_f->fp.file, filename, mode, 1) != NULL)
+  if (_IO_file_fopen (&new_f->fp.file, filename, mode, 0) != NULL)
     return &new_f->fp.file;
   _IO_un_link (&new_f->fp.file);
   free (new_f);
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index a4ee453a5a..e65ee76222 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,18 @@
+1999-01-24  H.J. Lu  <hjl@gnu.org>
+
+	* manager.c (__pthread_manager): Delete __pthread_sig_debug
+	from mask if __pthread_sig_debug > 0.
+	(pthread_handle_create): Increment __pthread_handles_num.
+
+	* manager.c (pthread_handle_create): Don't pass CLONE_PTRACE to clone.
+	* pthread.c (__pthread_initialize_manager): Likewise.
+
+	* pthread.c (pthread_initialize): Use __libc_allocate_rtsig (1)
+	instead of __libc_allocate_rtsig (2).
+	(__pthread_initialize_manager): Send __pthread_sig_debug to gdb
+	instead of __pthread_sig_cancel.
+	(pthread_handle_sigdebug): Fix comments.
+
 1999-01-21  Ulrich Drepper  <drepper@cygnus.com>
 
 	* manager.c (pthread_allocate_stack): Set