all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Mopre fun with vcswitness
Date: Sun, 12 Jan 2014 22:30:31 +0100	[thread overview]
Message-ID: <87r48cc2h4.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <83k3e47vlq.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 12 Jan 2014 23:12:33 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: David Kastrup <dak@gnu.org>
>> Date: Sun, 12 Jan 2014 21:18:20 +0100
>> 
>> The overall look is highly suspicious for srcdir being different
>> from .
>
> srcdir should always be a relative file name, like ../foo, never
> absolute.
>
> Does it still look suspicious under that assumption?

Yes.  I am not saying "guilty", I am saying "suspicious".  While the
U.S. justice system makes it very expensive to get differentiation
between "guilty" and "suspicious", it's still a valid distinction.

But it looks filthy enough to be viewed as within three hops of a
genuine bug.

At any rate, even with relative paths I'd not expect to see

    VCSWITNESS: $(srcdir)/../.bzr/checkout/dirstate

but rather

    VCSWITNESS: ../$(srcdir)/.bzr/checkout/dirstate

since it is hard to imagine that the former would work for _anything_
but srcdir=. here.

The same holds for the current

	vcswitness='$$(srcdir)/../'$$dirstate;                          \

which would seem, used from within the src subdirectory, to have to
rather be

        vcswitness='../$$(srcdir)/'$$dirstate;                          \

It would seem that srcdir=. is the _only_ value for which this would
work.  Which is also likely the most common value, namely the one for
in-place builds.

-- 
David Kastrup



  reply	other threads:[~2014-01-12 21:30 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-12 20:07 Mopre fun with vcswitness Eric S. Raymond
2014-01-12 20:14 ` Andreas Schwab
2014-01-12 21:08   ` Eli Zaretskii
2014-01-12 20:18 ` David Kastrup
2014-01-12 20:31   ` Eric S. Raymond
2014-01-12 20:46     ` David Kastrup
2014-01-12 21:02       ` Eric S. Raymond
2014-01-12 21:12   ` Eli Zaretskii
2014-01-12 21:30     ` David Kastrup [this message]
2014-01-12 22:19     ` More " Jan Djärv
2014-01-13  2:46       ` Glenn Morris
2014-01-13  3:50         ` Eli Zaretskii
2014-01-13  4:19           ` Stefan Monnier
2014-01-13 10:12             ` Andreas Schwab
2014-01-13 11:12               ` David Kastrup
2014-01-13 11:30                 ` Andreas Schwab
2014-01-13 14:30               ` Stefan Monnier
2014-01-13 17:37                 ` Glenn Morris
2014-01-13 19:03           ` Glenn Morris
2014-01-13 19:13             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r48cc2h4.fsf@fencepost.gnu.org \
    --to=dak@gnu.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.