ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/zoe/trunk/Zoe.cpp
(Generate patch)

Comparing trunk/Zoe.cpp (file contents):
Revision 10 by douglas, 2004-07-10T01:46:06-07:00 vs.
Revision 11 by douglas, 2004-07-10T22:30:54-07:00

# Line 43 | Line 43 | Zoe::Zoe() : rss("zoe.rss")
43  
44          // This is just to figure out Jay's XML output, seems to have worked!
45          // It should really go in Rss.cpp later
46 <        api::FileOutputStream fout;
47 <
48 <        if (this->rss != "-") fout.Open(this->rss); // need to ask Jay "Why?"
49 <
50 <        xml::TextWriter rss(this->rss != "-" ? /*api::FileOutputStream(this->rss)*/
51 <                fout : api::Cout.GetStream());
46 >        api::FileOutputStream fout(this->rss != "-" ? this->rss : "/dev/null");
47 >        xml::TextWriter rss(this->rss != "-" ? fout : api::Cout.GetStream());
48          xml::ScopeElement root(rss, "rss");
49  
50          rss.SetAttribute("version", "2.0");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines