aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-01 17:49:19 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-01 17:49:19 +0000
commitaebb1faa198634a318bc14cf1e577f5806fafc38 (patch)
tree84d2cb338c61c9afeb4dda6d3b01901a182ce0bb /linuxthreads
parenta8e58aa9ab2667045c1b21e5c1c5e21b075a782f (diff)
downloadglibc-aebb1faa198634a318bc14cf1e577f5806fafc38.zip
glibc-aebb1faa198634a318bc14cf1e577f5806fafc38.tar.gz
glibc-aebb1faa198634a318bc14cf1e577f5806fafc38.tar.bz2
Update.
* libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last patch (_mode -> _flags).
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog3
-rw-r--r--linuxthreads/sysdeps/pthread/bits/stdio-lock.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 6c88108..55a4702 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,6 +1,9 @@
2000-09-01 Ulrich Drepper <drepper@redhat.com>
* sysdeps/pthread/bits/stdio-lock.h (_IO_cleanup_region_start):
+ Fix typo in last patch (_mode -> _flags).
+
+ * sysdeps/pthread/bits/stdio-lock.h (_IO_cleanup_region_start):
Provide definition which respects _IO_USER_LOCK flag.
2000-08-30 Ulrich Drepper <drepper@redhat.com>
diff --git a/linuxthreads/sysdeps/pthread/bits/stdio-lock.h b/linuxthreads/sysdeps/pthread/bits/stdio-lock.h
index ba3e781..42c2196 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)); \