Boost logo

Boost Users :

From: Soren Soe (soren.soe_at_[hidden])
Date: 2008-04-01 19:02:23


Hi,

It appears boost::iostreams::newline_filter(posix) converts all CRs into LFs
rather than just converting the sequence CRLF. In other words: "\rtext\r\r\n"
is converted to "\ntext\n\n" when I would have expected "\rtext\r\n". Indeed
the latter is what dos2unix does on my linux system. Is this a bug in the
newline_filter?

Thanks,
Soren Soe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net