On Mon, Dec 03, 2018 at 09:56:30PM -0600, Jacob Bachmeyer wrote: > This is part of my ongoing efforts to improve DejaGnu's integration > with Automake. I think that "relative_file_name" could be a useful > utility procedure and will be able to fill any remaining gaps when > subdir is eventually deprecated. This also replaces two slightly > different ways of deriving what should be the same value.
What you have written is very similar to the UNIX realpath(1) utility with the --relative-to option. Can you perhaps rename your proc to realpath_relative? Cheers, Ben
signature.asc
Description: PGP signature
_______________________________________________ DejaGnu mailing list DejaGnu@gnu.org https://lists.gnu.org/mailman/listinfo/dejagnu