mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Remove doubled words.
This commit is contained in:
committed by
Ulrich Drepper
parent
e84142d2a9
commit
ded5b9b7c7
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user