Your message dated Sat, 3 Jul 2010 23:57:28 -0500
with message-id <[email protected]>
and subject line Upstream won't fix
has caused the Debian Bug report #573494,
regarding read_graphviz() reads to much
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
573494: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573494
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libboost-graph1.42.0
Version: 1.42.0-3
boost::read_graphviz() is a function that reads a graph in graphviz dot
language from a stream. These graphs are of the form
[ strict ] (graph | digraph) [ ID ] '{' stmt_list '}'
e.g.
graph {
0;
1;
1 -- 0;
}
However boost::read_graphviz() does not stop reading at the terminating
}. Instead it goes on reading until EOF. This is bad when reading from a
stream that is not an ifstream from a file containing exactly one graph.
boost::read_graphviz() should stop reading after the terminating }.
Philipp
--- End Message ---
--- Begin Message ---
Hi,
As noted in https://svn.boost.org/trac/boost/ticket/4030
The way the code is currently written (lexing with Boost.Regex) does
not lend itself to using istream_iterators or anything that would
easily allow the use of files directly. Boost.Regex and Xpressive
require bidirectional iterators, and the wrapper in Spirit can only
turn istream_iterators into forward iterators. There is a previous
version of the Graphviz parser that uses Spirit; you can enable it
by #defining BOOST_GRAPH_USE_SPIRIT_PARSER (in r60770 and above, so
please update). It has some bugs in parsing various parts of the
Graphviz grammar, but you are not likely to hit them.
-Steve
signature.asc
Description: Digital signature
--- End Message ---