|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r50806 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2009-01-27 13:03:04
Author: jewillco
Date: 2009-01-27 13:03:03 EST (Tue, 27 Jan 2009)
New Revision: 50806
URL: http://svn.boost.org/trac/boost/changeset/50806
Log:
Fixing two parts of #2658; not sure about point 3 of that report
Text files modified:
trunk/boost/graph/read_dimacs.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/graph/read_dimacs.hpp
==============================================================================
--- trunk/boost/graph/read_dimacs.hpp (original)
+++ trunk/boost/graph/read_dimacs.hpp 2009-01-27 13:03:03 EST (Tue, 27 Jan 2009)
@@ -250,7 +250,7 @@
/* ----- all is red or error while reading ----- */
- if ( feof (stdin) == 0 ) /* reading error */
+ if ( in.eof() == 0 ) /* reading error */
{ err_no=EN21; goto error; }
if ( no_lines == 0 ) /* empty input */
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk