Hiltjo Posthuma
|
665ce267d9
check write errors on the output stream after each feed
|
пре 2 година |
Hiltjo Posthuma
|
fad48ffa27
stricter error checking in file streams (input, output)
|
пре 2 година |
Hiltjo Posthuma
|
b6f7a3fe15
improve time(NULL) error checking
|
пре 2 година |
Hiltjo Posthuma
|
7199cd10a9
code-style: use a newline before return in main()
|
пре 2 година |
Hiltjo Posthuma
|
55ac2338fc
portability and standards: add BSD-like err() and errx() functions
|
пре 3 година |
Hiltjo Posthuma
|
f18f4818ed
optimize converting UNIX timestamp to localtime
|
пре 3 година |
Hiltjo Posthuma
|
276d5789fd
format tools: don't skip items with a missing/invalid timestamp field
|
пре 3 година |
Hiltjo Posthuma
|
7c99000c20
util: improve/cleanup parseline()
|
пре 4 година |
Hiltjo Posthuma
|
d4c8c60b38
cleanup some includes
|
пре 4 година |
Hiltjo Posthuma
|
0b729e7453
sfeed_plain: start with timestamp, consistent with sfeed_twtxt
|
пре 5 година |
Hiltjo Posthuma
|
28b37c1c8c
whitespace and comment fix
|
пре 5 година |
Hiltjo Posthuma
|
732d171383
sfeed_plain: don't flush line (was used for tail -f)
|
пре 6 година |
Hiltjo Posthuma
|
90fb851ec1
include <sys/types.h> for types size_t, ssize_t etc
|
пре 6 година |
Hiltjo Posthuma
|
051bb63cd9
sfeed_plain: force flush line to output, useful for tail -f
|
пре 6 година |
Hiltjo Posthuma
|
9276032c7b
sfeed_plain: utf-8 pad name
|
пре 6 година |
Hiltjo Posthuma
|
b232db436b
format programs: ignore fields with an invalid time
|
пре 6 година |
Hiltjo Posthuma
|
e2719867bc
sfeed_plain: use setlocale() for glibc
|
пре 7 година |
Hiltjo Posthuma
|
3151fc001c
simplify pledge stub
|
пре 7 година |
Hiltjo Posthuma
|
e6f348c728
add USE_PLEDGE, remove pledge dummy function
|
пре 7 година |
Hiltjo Posthuma
|
8a3177f96d
remove basename, just use last part of the path...
|
пре 8 година |
Hiltjo Posthuma
|
e92d374581
add time parsing to sfeed itself, remove time field
|
пре 8 година |
Hiltjo Posthuma
|
502d03d4f3
null-terminate line at newline from getline()
|
пре 8 година |
Hiltjo Posthuma
|
13927fc608
various improvements
|
пре 8 година |
Hiltjo Posthuma
|
7e6245aa70
portability: dont use HOST_NAME_MAX, just use 256 as maximum
|
пре 8 година |
Hiltjo Posthuma
|
ba23401be9
sfeed_plain: remove some spaces for slightly more screen space :)
|
пре 8 година |
Hiltjo Posthuma
|
6599b96752
use HOST_NAME_MAX for hostname
|
пре 8 година |
Hiltjo Posthuma
|
29fa81e623
code-style + no need to zero static variables
|
пре 8 година |
Hiltjo Posthuma
|
e46ef96d68
util: strtotime: stricter time parsing
|
пре 8 година |
Hiltjo Posthuma
|
694176e019
sfeed_plain: save a character before status
|
пре 8 година |
Hiltjo Posthuma
|
c2b0ef9fde
sfeed_plain: remove control char check, assume input is sanitized for format programs
|
пре 8 година |