lix/src/libcmd
sternenseemann d0e34c85f8 libcmd/markdown: handle allocation errors in lowdown_term_rndr
We upgrade to lowdown 0.8.0 [1] which contains a fix/improvement to a
behavior mentioned in this issue thread [2] where a big part of
lowdown's API would just call exit(1) on allocation errors since that
is a satisfying behavior for the lowdown binary.

Now lowdown_term_rndr returns 0 if an allocation error occurred which we
check for in libcmd/markdown.cc.

Also the extern "C" { } wrapper around lowdown.h has been removed as it
is not necessary.

[1]: 6ca7c855a0/versions.xml (L987-L1006)
[2]: https://github.com/kristapsdz/lowdown/issues/45#issuecomment-756681153
2021-02-06 13:14:57 +01:00
..
command.cc Add a new Cmd type working on RealisedPaths 2021-01-28 09:38:44 +01:00
command.hh Add a new Cmd type working on RealisedPaths 2021-01-28 09:38:44 +01:00
installables.cc Normalize some error messages 2021-02-04 14:47:28 +01:00
installables.hh Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
legacy.cc Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
legacy.hh Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
local.mk Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
markdown.cc libcmd/markdown: handle allocation errors in lowdown_term_rndr 2021-02-06 13:14:57 +01:00
markdown.hh Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
nix-cmd.pc.in Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00