[Top][All Lists]

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

Re: Finding the dump

From: Andreas Schwab
Subject: Re: Finding the dump
Date: Sun, 27 Jan 2019 21:12:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.91 (gnu/linux)

On Jan 27 2019, "Daniel Colascione" <address@hidden> wrote:

>> On Jan 27 2019, "Daniel Colascione" <address@hidden> wrote:
>>> There's some confusion on this thread. argv[0] *is* reliable
>> Nope.  The caller can set argv[0] to any string.  It is in not required
>> to be related to the name of the executable in any way.
> Sure, but such callers are holding it wrong. If you set argv[0] to some
> random string unrelated to Emacs, you break startup. That's fine.

No, emacs should not depend on the contents on argv[0].  There is no
need to do that.


Andreas Schwab, address@hidden
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

reply via email to

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