nix-super/src
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
..
build-remote Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
cpptoml Revert the enum struct change 2020-06-18 22:11:26 +00:00
libcmd libcmd/markdown: handle allocation errors in lowdown_term_rndr 2021-02-06 13:14:57 +01:00
libexpr Include note about type of catched errors in tryEval documentation 2021-02-03 17:14:40 +01:00
libfetchers Add traces to errors while updating flake lock file 2021-01-27 14:02:54 +01:00
libmain Remove mkFlag() 2021-01-27 12:06:03 +01:00
libstore Add more instrumentation for #4270 2021-02-05 15:57:33 +01:00
libutil Move the GENERATE_CMP macro to its own file 2021-02-05 11:42:33 +01:00
nix Merge pull request #4372 from tweag/ca/drvoutputs-commands 2021-02-05 13:03:50 +01:00
nix-build Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
nix-channel Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
nix-collect-garbage Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
nix-copy-closure Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
nix-env Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
nix-instantiate Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
nix-store Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
resolve-system-dependencies Fix macOS build 2021-01-21 12:46:22 +01:00