about summary refs log tree commit diff
path: root/libio
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-07-22 16:54:32 +0000
committerUlrich Drepper <drepper@redhat.com>1998-07-22 16:54:32 +0000
commita7ab2023fcdd5c90c9f664cbaed8ef90dd38e818 (patch)
tree9b86dc161c5966099758510f55726e5f4a52af65 /libio
parent61027f30c8f3ee9e280d2de3e240bf53864e0f61 (diff)
downloadglibc-a7ab2023fcdd5c90c9f664cbaed8ef90dd38e818.tar.gz
glibc-a7ab2023fcdd5c90c9f664cbaed8ef90dd38e818.tar.xz
glibc-a7ab2023fcdd5c90c9f664cbaed8ef90dd38e818.zip
Update.
1998-07-22  Ulrich Drepper  <drepper@cygnus.com>

	* Makefile (headers2_0): Add sigstack.h.

	* sysdeps/unix/sysv/linux/alpha/getrusage.S: Also define __getrusage.

1998-07-22 11:43  Ulrich Drepper  <drepper@cygnus.com>

	* libio/fileops.c (_IO_file_sync): Don't lock stream here.
	Reported by Thorsten Kukuk.

	* string/strcoll.c: Correct problem with empty strings.
	* string/strxfrm.c: Likewise.
	Reported by vbzoli@hbrt.hu [PR libc/719].

1998-07-21 18:40  Zack Weinberg  <zack@rabi.phys.columbia.edu>

	* sysdeps/posix/tempname.c: Use the random-name generator
	already used by mktemp/mkstemp.  Honor TMPDIR.

1998-07-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* hurd/Makefile (routines): Remove cthreads.
	* sysdeps/mach/hurd/Makefile (sysdep_routines): Add cthreads.

	* sysdeps/unix/sysv/linux/i386/Dist: Add missing files.

	* manual/Makefile (distribute): Add summary.texi.

1998-07-21 16:08  Zack Weinberg  <zack@rabi.phys.columbia.edu>
Diffstat (limited to 'libio')
-rw-r--r--libio/fileops.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libio/fileops.c b/libio/fileops.c
index 82e521af6b..0192531c18 100644
--- a/libio/fileops.c
+++ b/libio/fileops.c
@@ -434,8 +434,6 @@ _IO_file_sync (fp)
   _IO_size_t delta;
   int retval = 0;
 
-  _IO_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile, fp);
-  _IO_flockfile (fp);
   /*    char* ptr = cur_ptr(); */
   if (fp->_IO_write_ptr > fp->_IO_write_base)
     if (_IO_do_flush(fp)) return EOF;
@@ -460,8 +458,6 @@ _IO_file_sync (fp)
     fp->_offset = _IO_pos_BAD;
   /* FIXME: Cleanup - can this be shared? */
   /*    setg(base(), ptr, ptr); */
-  _IO_funlockfile (fp);
-  _IO_cleanup_region_end (0);
   return retval;
 }