From aebb1faa198634a318bc14cf1e577f5806fafc38 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 1 Sep 2000 17:49:19 +0000 Subject: Update. * libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last patch (_mode -> _flags). --- linuxthreads/sysdeps/pthread/bits/stdio-lock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linuxthreads/sysdeps/pthread') diff --git a/linuxthreads/sysdeps/pthread/bits/stdio-lock.h b/linuxthreads/sysdeps/pthread/bits/stdio-lock.h index ba3e781928..42c219624f 100644 --- a/linuxthreads/sysdeps/pthread/bits/stdio-lock.h +++ b/linuxthreads/sysdeps/pthread/bits/stdio-lock.h @@ -27,7 +27,7 @@ typedef pthread_mutex_t _IO_lock_t; #define _IO_cleanup_region_start(_fct, _fp) \ { struct _pthread_cleanup_buffer _buffer; \ - int _avail = (((_fp)->_mode & _IO_USER_LOCK) == 0 \ + int _avail = (((_fp)->_flags & _IO_USER_LOCK) == 0 \ && _pthread_cleanup_push_defer != NULL); \ if (_avail) { \ _pthread_cleanup_push_defer (&_buffer, (_fct), (_fp)); \ -- cgit v1.2.3