diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2019-07-04 21:56:31 +0200 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2019-07-04 21:56:31 +0200 |
commit | e5b0d4889556257a15027e729233e0c5d7e25d30 (patch) | |
tree | e42b8c2c825479ed11a497feddccd099460a80e7 /sfeed_xmlenc.c | |
parent | f945d2efff418cf5fa108790ca3adef4796065ef (diff) |
sfeed_gph: improvements
- pledge(2) sooner.
- Don't use getenv when it has no arguments and reads only from stdin.
prefixpath is unused in that case.
- Check for path truncation or an encoding error. No need to format the same
path twice.
- Use a fixed feed structure, no need for memory allocation in this format
program.
- Remove "totalnew" of all feeds. It was unused.
Diffstat (limited to 'sfeed_xmlenc.c')
0 files changed, 0 insertions, 0 deletions