diff options
Diffstat (limited to 'libio')
-rw-r--r-- | libio/fileops.c | 6 | ||||
-rw-r--r-- | libio/oldfileops.c | 6 | ||||
-rw-r--r-- | libio/wfileops.c | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/libio/fileops.c b/libio/fileops.c index 4698953f7a..eba2768cc7 100644 --- a/libio/fileops.c +++ b/libio/fileops.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1995, 1997-2005, 2006, 2007, 2008, 2009 +/* Copyright (C) 1993, 1995, 1997-2005, 2006, 2007, 2008, 2009, 2011 Free Software Foundation, Inc. This file is part of the GNU C Library. Written by Per Bothner <bothner@cygnus.com>. @@ -507,7 +507,7 @@ new_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->_offset = _IO_pos_BAD; @@ -1109,7 +1109,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->_offset >= 0) _IO_SYSSEEK (fp, fp->_offset, 0); 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); diff --git a/libio/wfileops.c b/libio/wfileops.c index 503d341a96..386b06b79f 100644 --- a/libio/wfileops.c +++ b/libio/wfileops.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993,1995,1997-2004,2006,2009 Free Software Foundation, Inc. +/* Copyright (C) 1993,1995,1997-2004,2006,2009,2011 Free Software Foundation, Inc. This file is part of the GNU C Library. Written by Ulrich Drepper <drepper@cygnus.com>. Based on the single byte version by Per Bothner <bothner@cygnus.com>. @@ -759,7 +759,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->_offset >= 0) _IO_SYSSEEK (fp, fp->_offset, 0); |