diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2013-08-06 19:17:16 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2013-08-06 19:17:16 +0000 |
commit | febd4cb165d5377b35eeb2065b45b65054fe6624 (patch) | |
tree | 01ab734016bc0894ffa92755ad9bd3078b8fe6d4 /gnu/egcs/libio/isscan.cc | |
parent | 81a80cf18dfb0d2c181f37070df4c0bcee447b6f (diff) |
Remove gcc 2.95 from the tree. One of the least bogus compiler we had (although
it had required some generous bandaid), but unfortunately not able to compile
most of the Real World (tm) software.
Diffstat (limited to 'gnu/egcs/libio/isscan.cc')
-rw-r--r-- | gnu/egcs/libio/isscan.cc | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/gnu/egcs/libio/isscan.cc b/gnu/egcs/libio/isscan.cc deleted file mode 100644 index 64d4bc682f8..00000000000 --- a/gnu/egcs/libio/isscan.cc +++ /dev/null @@ -1,45 +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" -#include <iostream.h> -#include <stdarg.h> - -istream& istream::scan(const char *format ...) -{ - if (ipfx0()) { - va_list ap; - va_start(ap, format); - _strbuf->vscan(format, ap, this); - va_end(ap); - } - return *this; -} - -istream& istream::vscan(const char *format, _IO_va_list args) -{ - if (ipfx0()) - _strbuf->vscan(format, args, this); - return *this; -} |