dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PATCH: add relative_file_name procedure to encapsulate logic for "su


From: Ben Elliston
Subject: Re: PATCH: add relative_file_name procedure to encapsulate logic for "subdir" variable
Date: Tue, 4 Dec 2018 15:39:50 +1100
User-agent: Mutt/1.9.4 (2018-02-28)

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

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]