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

Comparing trunk/Rss.cpp (file contents):
Revision 27 by douglas, 2004-07-17T19:21:04-07:00 vs.
Revision 28 by douglas, 2004-07-17T23:54:14-07:00

# Line 9 | Line 9
9   Rss::Rss(const Buddy& buddy, const std::vector<AwayMessage>& messages, const
10          Stamp& stamp)
11   {
12 <        api::FileOutputStream fout(buddy.getRss() != "-" ? buddy.getRss() :
12 >        // not sure if Jay wants to fix this:
13 >        api::Posix::FileStream<api::Posix::HandleOutputStream, O_WRONLY | O_CREAT |
14 >                O_TRUNC, 0644> fout(buddy.getRss() != "-" ? buddy.getRss() :
15                  "/dev/null");
16 + /*      api::FileOutputStream fout(buddy.getRss() != "-" ? buddy.getRss() :
17 +                "/dev/null");*/
18          xml::TextWriter rss(buddy.getRss() != "-" ? fout : api::Cout.GetStream());
19          xml::ScopeElement root(rss, "rss");
20  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines