diff options
Diffstat (limited to 'libio/ioseekoff.c')
-rw-r--r-- | libio/ioseekoff.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libio/ioseekoff.c b/libio/ioseekoff.c index 13086ee..b83e1ad 100644 --- a/libio/ioseekoff.c +++ b/libio/ioseekoff.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU IO Library. This library is free software; you can redistribute it and/or @@ -49,6 +49,7 @@ _IO_seekoff (fp, offset, dir, mode) } retval = _IO_SEEKOFF (fp, offset, dir, mode); - _IO_cleanup_region_end (1); + _IO_funlockfile (fp); + _IO_cleanup_region_end (0); return retval; } |