maint: refactor to use read-file from gnulib
authorPádraig Brady <P@draigBrady.com>
Tue, 11 Jan 2011 19:30:28 +0000 (19:30 +0000)
committerPádraig Brady <P@draigBrady.com>
Fri, 14 Jan 2011 18:06:41 +0000 (18:06 +0000)
commiteab97b3075060f027189f6592df9488a276a6732
tree1e21f44905792aed27acdf5fc8d481b1146ee4f7
parente1aaf8903db97f3240b1551fd6936ccdc652dfc8
maint: refactor to use read-file from gnulib

* bootstrap.conf: Add the read-file module
* src/ptx.c: Replace the original code which would
needlessly read SIZE_MAX bytes of files larger than this.
* src/shuf.c: Replace the original code.
bootstrap.conf
src/ptx.c
src/shuf.c