sfeed

simple feed reader - forked from git.codemadness.org/sfeed
git clone git://src.gearsix.net/sfeed
Log | Files | Refs | Atom | README | LICENSE

commit eddf9662587aa0ee356a9090bc7b01e65f4fc0b2
parent 99bc54667e5fee954252cdae19ec4e62dfdca12d
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon, 29 Feb 2016 14:10:38 +0100

sfeed_frames: whoops, set file permissions (else its 0000)

Diffstat:
Msfeed_frames.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sfeed_frames.c b/sfeed_frames.c @@ -155,7 +155,7 @@ printfeed(FILE *fpitems, FILE *fpin, struct feed *f) strtotime(fields[FieldUnixTimestamp], &parsedtime); /* content file doesn't exist yet and has write access */ - if ((fd = open(filepath, O_CREAT | O_EXCL | O_WRONLY)) == -1) { + if ((fd = open(filepath, O_CREAT | O_EXCL | O_WRONLY, 0644)) == -1) { if (errno != EEXIST) err(1, "open: %s", filepath); } else {