diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-09 18:20:43 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-04-09 18:20:43 +0000 |
commit | 42baadd690585613c5da65589aa5eb87fbe8c737 (patch) | |
tree | 87a7a1c5e264eba422c4448c201297092528f0fa /www/aria/files/patch-src::HistoryWindow.cc | |
parent | . Update to 1.1b3 (diff) |
- Fix build on big-endian arch
PR: ports/65371
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=106591
Diffstat (limited to 'www/aria/files/patch-src::HistoryWindow.cc')
-rw-r--r-- | www/aria/files/patch-src::HistoryWindow.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/aria/files/patch-src::HistoryWindow.cc b/www/aria/files/patch-src::HistoryWindow.cc new file mode 100644 index 000000000000..f6f8aed8cdd2 --- /dev/null +++ b/www/aria/files/patch-src::HistoryWindow.cc @@ -0,0 +1,11 @@ +--- src/HistoryWindow.cc.orig Wed Oct 2 00:32:00 2002 ++++ src/HistoryWindow.cc Thu Apr 8 22:41:14 2004 +@@ -479,7 +479,7 @@ + { + ifstream infile(filename.c_str(), ios::in); + +- if(infile.bad()) return false; ++ if(!infile.is_open() || infile.bad()) return false; + int count = 0; + while(!infile.eof() && count < maxHistory) { + string line; |