diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2001-03-19 20:56:12 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2001-03-19 20:56:12 +0000 |
commit | dc54a98d057114b4701ceeceeeb16f446ade4cf4 (patch) | |
tree | 797d608e70dda10b0da9a4097457ac5fd8f1bc60 /contrib/libg++/libio/ioseekpos.c | |
parent | 06b8915d1faf919850dd08fb24caab3f447e37b6 (diff) | |
download | src-vendor/gcc/2.95.3.tar.gz src-vendor/gcc/2.95.3.zip |
This commit was manufactured by cvs2svn to create tagvendor/gcc/2.95.3
'gcc-vendor-gcc_2_95_3'.
Diffstat (limited to 'contrib/libg++/libio/ioseekpos.c')
-rw-r--r-- | contrib/libg++/libio/ioseekpos.c | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/contrib/libg++/libio/ioseekpos.c b/contrib/libg++/libio/ioseekpos.c deleted file mode 100644 index 1884f9df8f7c..000000000000 --- a/contrib/libg++/libio/ioseekpos.c +++ /dev/null @@ -1,39 +0,0 @@ -/* -Copyright (C) 1993 Free Software Foundation - -This file is part of the GNU IO Library. This library is free -software; you can redistribute it and/or modify it under the -terms of the GNU General Public License as published by the -Free Software Foundation; either version 2, or (at your option) -any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this library; see the file COPYING. If not, write to the Free -Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -As a special exception, if you link this library with files -compiled with a GNU compiler to produce an executable, this does not cause -the resulting executable to be covered by the GNU General Public License. -This exception does not however invalidate any other reasons why -the executable file might be covered by the GNU General Public License. */ - -#include <libioP.h> - -_IO_pos_t -DEFUN(_IO_seekpos, (fp, pos, mode), - _IO_FILE* fp AND _IO_pos_t pos AND int mode) -{ - /* If we have a backup buffer, get rid of it, since the __seekoff - callback may not know to do the right thing about it. - This may be over-kill, but it'll do for now. TODO */ - - if (_IO_have_backup (fp)) - _IO_free_backup_area (fp); - - return _IO_SEEKPOS (fp, pos, mode); -} |