aboutsummaryrefslogtreecommitdiff
path: root/compat/getdelim.c
AgeCommit message (Collapse)Author
2019-06-14compat: run uncrustifyuncrustify
This is the result of running $ uncrustify --replace --config ../devel/uncrustify.cfg *.c *.h in the compat directory
2009-12-01getdelim: Silence a (bogus) compiler warning.Carl Worth
Some compilers complain that result might be used uninitialized in this function. I believe such compilers simply aren't looking hard enough, but it's easy enough to silence them.
2009-12-01compat/getdelim: Silence a warning about mixing of signed/unsigned.Carl Worth
If the length is ever so large as to overflow, then we'll end up returning a negative value (which indicates an error anyway).
2009-12-01compat: Change includes from config.h to compat.h.Carl Worth
We may switch to using an autoconf-like config.h, but we're not doing that just yet.
2009-12-01compat: Add implementation of getline from gnulib.Carl Worth
These were copied from the gnulib git repository as of: commit 563c779682040ed4b89c9b4bbe428dcd8157c90a They come under the GNU GPL v3 (or later) exactly as notmuch is licensed.