basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
2003-09-18 Petur Runolfsson <peturr02@ru.is> * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete. * config/io/basic_file_stdio.h: Same. * include/std/std_fstream.h (__ctype_type): Delete. * include/std/std_streambuf.h (__ctype_type, __state_type): Delete. From-SVN: r71520
This commit is contained in:
parent
f27fd64eb9
commit
0b5ce4f15c
@ -1,3 +1,10 @@
|
||||
2003-09-18 Petur Runolfsson <peturr02@ru.is>
|
||||
|
||||
* config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
|
||||
* config/io/basic_file_stdio.h: Same.
|
||||
* include/std/std_fstream.h (__ctype_type): Delete.
|
||||
* include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
|
||||
|
||||
2003-09-17 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
PR libstdc++/12239
|
||||
|
@ -154,14 +154,6 @@ namespace std
|
||||
}
|
||||
return __ret;
|
||||
}
|
||||
|
||||
int
|
||||
__basic_file<char>::sys_getc()
|
||||
{ return getc(_M_cfile); }
|
||||
|
||||
int
|
||||
__basic_file<char>::sys_ungetc(int __c)
|
||||
{ return ungetc(__c, _M_cfile); }
|
||||
|
||||
__basic_file<char>*
|
||||
__basic_file<char>::open(const char* __name, ios_base::openmode __mode,
|
||||
|
@ -76,12 +76,6 @@ namespace std
|
||||
__basic_file*
|
||||
sys_open(int __fd, ios_base::openmode __mode, bool __del);
|
||||
|
||||
int
|
||||
sys_getc();
|
||||
|
||||
int
|
||||
sys_ungetc(int);
|
||||
|
||||
__basic_file*
|
||||
close();
|
||||
|
||||
|
@ -82,7 +82,6 @@ namespace std
|
||||
typedef __basic_file<char> __file_type;
|
||||
typedef typename traits_type::state_type __state_type;
|
||||
typedef codecvt<char_type, char, __state_type> __codecvt_type;
|
||||
typedef ctype<char_type> __ctype_type;
|
||||
//@}
|
||||
|
||||
friend class ios_base; // For sync_with_stdio.
|
||||
|
@ -140,12 +140,10 @@ namespace std
|
||||
//@{
|
||||
/**
|
||||
* @if maint
|
||||
* These are non-standard types.
|
||||
* This is a non-standard type.
|
||||
* @endif
|
||||
*/
|
||||
typedef ctype<char_type> __ctype_type;
|
||||
typedef basic_streambuf<char_type, traits_type> __streambuf_type;
|
||||
typedef typename traits_type::state_type __state_type;
|
||||
//@}
|
||||
|
||||
friend class basic_ios<char_type, traits_type>;
|
||||
|
Loading…
Reference in New Issue
Block a user