From c020d48c6e91b351cefebbc7a82a9c1ec2d9d83b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 11 Aug 2001 05:19:24 +0000 Subject: Update. * libio/iovdprintf.c (_IO_vdprintf): Set _IO_USER_LOCK flag for temporary stream. Don't define lock. * libio/iovsprintf.c: Likewise. * libio/iovsnprintf.c: Likewise. * libio/iovswprintf.c: Likewise. * libio/iovsscanf.c: Likewise. * libio/iovswscanf.c: Likewise. * stdio-common/vfprintf.c [USE_IN_LIBIO] (buffered_vfprintf): Likewise. * libio/genops.c (_IO_no_init): Don't call _IO_lock_init if _lock is NULL. (_IO_default_finish): Likewise. * libio/wgenops.c (_IO_wdefault_finish): Likewise. --- libio/wstrops.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libio/wstrops.c') diff --git a/libio/wstrops.c b/libio/wstrops.c index bfc71c2..0e90613 100644 --- a/libio/wstrops.c +++ b/libio/wstrops.c @@ -107,11 +107,6 @@ _IO_wstr_init_static (fp, ptr, size, pstart) } /* A null _allocate_buffer function flags the strfile as being static. */ (((_IO_strfile *) fp)->_s._allocate_buffer) = (_IO_alloc_type)0; - -#ifdef _IO_MTSAFE_IO - /* We never have to lock this stream. */ - __fsetlocking ((FILE *) fp, FSETLOCKING_BYCALLER); -#endif } void -- cgit v1.1