summaryrefslogtreecommitdiff
path: root/sfeed_update
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2021-03-02 13:13:19 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2021-03-02 13:13:19 +0100
commitceefac3e911b84c8aa8d215a3f7ec651aaeb4800 (patch)
tree0de146125f279e5478d70f22a5ad6e8726218781 /sfeed_update
parentf0e0326248e3a8c148eea64f77a5a1f84cf8d80b (diff)
README: workaround empty fields with *BSD xargs -0
Workaround it by setting the empty "middle" fields to some value. The last field can be empty. Some feeds were incorrectly using the wrong base URL if the `baseurl` field was empty but the encoding field was set. So it incorrectly used the encoding field instead. Only now noticed some feeds were failing because the baseURL is validated since commit f305b032bc19b4e81c0dd6c0398370028ea910ca and returning a non-zero exit status. This doesn't happen with GNU xargs, busybox or toybox xargs. Affected (atleast): OpenBSD, NetBSD, FreeBSD and DragonFlyBSD xargs which share similar code. Simple way to reproduce the difference: printf 'a\0\0c\0' | xargs -0 echo Prints "a c" on *BSD. Prints "a c" on GNU xargs (and some other implementations).
Diffstat (limited to 'sfeed_update')
0 files changed, 0 insertions, 0 deletions