3 ms·
Grepping my checked-out source trees quickly: 1. spiped re-binds SIGINT if it is launched as pid 1, in order to work around a Docker bug: https://github.com/Ta
by cperciva 10y ago
Grepping my checked-out source trees quickly:
1. spiped re-binds SIGINT if it is launched as pid 1, in order to work around a Docker bug: https://github.com/Tarsnap/spiped/blob/master/spiped/main.c#L268 https://github.com/Tarsnap/spiped/blob/master/spiped/main.c#...
2. In my POSIX-violation-workarounds script, ironically enough, I work around a bug in bash which makes 'command -p sh' run with the incorrect path (this has since been fixed, but continues to be present in older installed versions of bash): https://github.com/Tarsnap/spiped/commit/e3968941c9c1b20c63d578f1d262d97d5781d240 https://github.com/Tarsnap/spiped/commit/e3968941c9c1b20c63d...
3. In my getopt code, I use a (non-C99-compliant) computed goto in order to work around a bug in LLVM's handling of sigsetjmp/siglongjmp: https://github.com/Tarsnap/libcperciva/commit/92e666e59503de37b958c7e70e56ae71b281b036 https://github.com/Tarsnap/libcperciva/commit/92e666e59503de...
4. Many years ago, I added a spurious 'volatile' into some Tarsnap code in order to prevent a buggy LLVM optimization step from running (it was making the Tarsnap build hang on on OS X 10.7): https://github.com/Tarsnap/tarsnap/blob/master/tar/multitape/chunkify.c#L70 https://github.com/Tarsnap/tarsnap/blob/master/tar/multitape...