diff options
Diffstat (limited to 'libio/oldfileops.c')
-rw-r--r-- | libio/oldfileops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libio/oldfileops.c b/libio/oldfileops.c index 3bd0aa175b..be99a2500c 100644 --- a/libio/oldfileops.c +++ b/libio/oldfileops.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1995, 1997-2004, 2005, 2007 +/* Copyright (C) 1993, 1995, 1997-2004, 2005, 2007, 2011 Free Software Foundation, Inc. This file is part of the GNU C Library. Written by Per Bothner <bothner@cygnus.com>. @@ -299,7 +299,7 @@ old_do_write (fp, data, to_do) if (fp->_flags & _IO_IS_APPENDING) /* On a system without a proper O_APPEND implementation, you would need to sys_seek(0, SEEK_END) here, but is - is not needed nor desirable for Unix- or Posix-like systems. + not needed nor desirable for Unix- or Posix-like systems. Instead, just indicate that offset (before and after) is unpredictable. */ fp->_old_offset = _IO_pos_BAD; @@ -654,7 +654,7 @@ resync: /* We need to do it since it is possible that the file offset in the kernel may be changed behind our back. It may happen when we fopen a file and then do a fork. One process may access the - the file and the kernel file offset will be changed. */ + file and the kernel file offset will be changed. */ if (fp->_old_offset >= 0) _IO_SYSSEEK (fp, fp->_old_offset, 0); |