Re: PATCH: add relative_file_name procedure to encapsulate logic for "subdir" variable
Ben Elliston <[email protected]>
| Newsgroups | gmane.comp.sysutils.dejagnu.general |
|---|---|
| Message-ID | <20181204043950.GA21725@bapbop> |
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 _______________________________________________ DejaGnu mailing list [email protected] https://lists.gnu.org/mailman/listinfo/dejagnu
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEFS8+rdM1/2KWERKFZ9rcPj90NkkFAlwGBRQACgkQZ9rcPj90 Nkkgxw//TSGitdRx5MhaEcWZiWLxKu2BI/cwwHNrMe8T8SW7AMuUbquz75qWAeUY RsrVSEhX2gcle2raP63lc4DuJIbYM9DSnBAJR7wCD02KI+De2FoRYLVIEJuMOH3q B1NJvf8qzqSM4X7yvqMsr3wKk9iKRxpN3RutHbjwi2UhubhXjNLJYXutveemvwXc fBrOYM/PQwWtUYyr18ceuxwD9ajCMPTslZcv06bZ25ppXuPFzmAExnK3Y+XGQsgQ XPSsXMvneJNn6iMyg03ri1NjozsZEAQGuirCGQjIOqWD1u5wLDd1sj1qUH/BiipY 9Xkkc/CjJTTXJJpCAs+ZkynwMYq189P6R1q4jbzC8WYXUQX9uySL5ikWS7f0aOYZ tPY+Yq01Z851T/HcfF8E+Sh2CrjEUeVG2joFhJDWnydYq57e1VAyT+uLepi6nAVn AYK8FPKsyIi0aJOinJ8LG6aKxxiqM2whmfGCOgYav1P4kAbyPXZprvrBknQaXHSg COepYqIGqezbOqAJgUg3DijF8XEEGkXYyPJ10/vv+6DxPdL6TupMcYclZo3JpFZT fdzaI04WzWM7Z1uyr3W1VglLJhcvNDEUYkLr1qjbzy8dOuVxoHRFF29QpqpuOcXy /QEKfsuRvSsNSgAGLizeyVllPqygajyYrHwYcjg1M91dbe9qrlQ= =SvTG -----END PGP SIGNATURE-----