]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Import getdelim.c from gnulib (to fix unused var warnings) then
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 2 Oct 2005 22:49:49 +0000 (22:49 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 2 Oct 2005 22:49:49 +0000 (22:49 +0000)
commitca7be845260fc6b97bf1bf316b75b9c7a6c1a346
tree5fd2f0f436a6b390c0c0e50389117e7bb8e19caa
parentfbc02ac7840aba4629ecd92c1fa9f451ee95abd2
Import getdelim.c from gnulib (to fix unused var warnings) then
apply the following fixes:
Include getdelim.h first.  Include <limits.h>.
(SSIZE_MAX): New macro, if not already defined.
(getdelim): Fix buffer overrun on 64-bit hosts with lines longer
than 2 GiB.
lib/ChangeLog
lib/getdelim.c