summaryrefslogtreecommitdiff
path: root/package/uclibc++/patches/patch-fstream_eof
diff options
context:
space:
mode:
Diffstat (limited to 'package/uclibc++/patches/patch-fstream_eof')
-rw-r--r--package/uclibc++/patches/patch-fstream_eof15
1 files changed, 0 insertions, 15 deletions
diff --git a/package/uclibc++/patches/patch-fstream_eof b/package/uclibc++/patches/patch-fstream_eof
deleted file mode 100644
index 80a7b77ff..000000000
--- a/package/uclibc++/patches/patch-fstream_eof
+++ /dev/null
@@ -1,15 +0,0 @@
-$Id$
- * fix crash on reading from closed fstream
-
---- uClibc++-0.2.2.orig/include/fstream 2007-06-04 00:51:12.000000000 +0200
-+++ uClibc++-0.2.2/include/fstream 2009-11-20 22:52:48.000000000 +0100
-@@ -206,6 +206,9 @@ namespace std{
- return traits::eof();
- }
-
-+ if(fp == 0)
-+ return traits::eof();
-+
- if(basic_streambuf<charT,traits>::eback() == 0){
- //No buffer, so...
- charT c;