Files
coreutils/tests
Jim Meyering 3ece0355d5 cp: use far less memory in some cases
cp --link was "remembering" many name,dev,inode triples unnecessarily.
cp was doing the same, even without --link, for every directory in the
source hierarchy, while it can do its job with entries merely for the
command-line arguments.  Prompted by a report from Patrick Shoenfeld.
Details <http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/15081>.
* src/copy.c (copy_internal): Refrain from remembering
name,dev,inode for most files, when invoked via cp --link.
Record an infloop-avoidance triple for each directory specified
on the command line, not for each directory in the source tree.
Don't record a dir-triple when x->hard_link is set.
* NEWS (Buf fixes): Mention it.
* tests/cp/link-heap: New file.  Test for cp's lowered memory usage.
* tests/Makefile.am (TESTS): Add link-heap.
2008-11-20 10:21:52 +01:00
..
2008-11-20 10:21:52 +01:00
2008-11-12 13:29:38 +01:00
2008-05-10 13:35:30 +02:00
2008-09-10 13:20:27 +02:00
2008-10-01 08:45:26 +02:00
2008-04-21 00:01:51 +02:00
2008-04-21 00:01:51 +02:00
…

A note about Makefile.am.in.
It is used (usually only by the maintainer) to generate some of the
Makefile.am files in these subdirectories.