Hash :
935bf3f7
Author :
Date :
2018-01-14T13:27:20
filenamecat: make base a suffix of result * lib/filenamecat-lgpl.c (longest_relative_suffix): Remove. (mfile_name_concat): Always make BASE a suffix of the result, as cp expects this. To implement this, separate with '.' instead of '/' in some rare cases. Clarify spec to say ./BASE not BASE. * tests/test-filenamecat.c (main): Adjust tests to match current behavior. Check that BASE_IN_RESULT points to a copy of BASE and is a suffix of the resultk, and that DIR is a prefix of the result that is no longer than the prefix indicated by BASE_IN_RESULT.
The files in this directory are used in many GNU packages, including coreutils, diffutils, and tar. The autoconf tests required for these files are in ../m4.