summary refs log tree commit diff
path: root/libio/iofwide.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-07-21 06:15:13 +0000
committerUlrich Drepper <drepper@redhat.com>2000-07-21 06:15:13 +0000
commitd052b31b79a3681db7de04177a55b04354320a61 (patch)
tree460566c2ae448a77eb915bf00e448c20dc1260d7 /libio/iofwide.c
parent266bb989e0a4b40e369eff177a59754655059fd8 (diff)
downloadglibc-d052b31b79a3681db7de04177a55b04354320a61.tar.gz
glibc-d052b31b79a3681db7de04177a55b04354320a61.tar.xz
glibc-d052b31b79a3681db7de04177a55b04354320a61.zip
Update.
	* libio/Makefile (routines): Add fwide.
	* libio/iofwide.c (_IO_fwide): Remove locking.  This is done in
	fwide now.  Internal calls to _IO_fwide must do locking themselves
	or don't need locking.
	* libio/fwide.c: New file.

	* elf/dl-load.c (_dl_map_object): Implement handling of DF_1_NODEFLIB.
Diffstat (limited to 'libio/iofwide.c')
-rw-r--r--libio/iofwide.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libio/iofwide.c b/libio/iofwide.c
index 12649fd9c7..c0ee083029 100644
--- a/libio/iofwide.c
+++ b/libio/iofwide.c
@@ -92,9 +92,6 @@ _IO_fwide (fp, mode)
        or the orientation already has been determined.  */
     return fp->_mode;
 
-  _IO_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile, fp);
-  _IO_flockfile (fp);
-
   /* Set the orientation appropriately.  */
   if (mode > 0)
     {
@@ -150,9 +147,6 @@ _IO_fwide (fp, mode)
   /* Set the mode now.  */
   fp->_mode = mode;
 
-  _IO_funlockfile (fp);
-  _IO_cleanup_region_end (0);
-
   return mode;
 }