From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: master b9ac4f8.. (Fix locating pdump by symlink) breaks with stow Date: Mon, 24 Jun 2019 18:57:32 +0700 Message-ID: References: <87imsvuvnr.fsf@wavexx.thregr.org> <20190624111050.jindvg6j4hr5j226@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="221265"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Yuri D'Elia , Emacs developers To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 24 13:57:55 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hfNbd-000vR5-TU for ged-emacs-devel@m.gmane.org; Mon, 24 Jun 2019 13:57:54 +0200 Original-Received: from localhost ([::1]:50200 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfNbc-0007Tn-TV for ged-emacs-devel@m.gmane.org; Mon, 24 Jun 2019 07:57:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41544) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfNbW-0007TT-PI for emacs-devel@gnu.org; Mon, 24 Jun 2019 07:57:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hfNbV-0004nE-QT for emacs-devel@gnu.org; Mon, 24 Jun 2019 07:57:46 -0400 Original-Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]:39053) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hfNbV-0004kX-KW for emacs-devel@gnu.org; Mon, 24 Jun 2019 07:57:45 -0400 Original-Received: by mail-ed1-x534.google.com with SMTP id m10so21406773edv.6 for ; Mon, 24 Jun 2019 04:57:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=e7V6+PF6aUBcWW0YCANPNMEKjasEGh2jW0tH19YQ9Zg=; b=T1XXXcjpv9bMawbuIUWogPoeJkQzN5mhBtGlaP54/RFDPGXKYHB76isSHcnvGtddL8 AiwicFcmSHs5TAzcnd8uz7WGACLgnSB7eoJJtTom6TeyZdOle3xVfRprK9n28i//dMvF NAtff+ptbHVIBfhpg6fl3bxNDs7VOIlTyegzqNsZ84E7kzJC1XoKVLuVHxAIPpiN67eH /S1iBKB2KxGtbK3pUdbEPlrjX8P9zIRfAhEckK7HJ4Y7U12wM0z3kHq/NPenanQY4G7J GE5b4kFyWWMtV8upAVurLYDSAnxc2qRqATMxsJ3f3nDJMwqpO/jdU7tHEmM08FtGuVag J41g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=e7V6+PF6aUBcWW0YCANPNMEKjasEGh2jW0tH19YQ9Zg=; b=OPIk1kGO8CewCIY2Cw3KAqGhTjYtl8jbWd+ufam6rko58h512E2mhd6jVaE6R9YGvA TuHxlnwUOOZxWru8WT3yXgUi4SdtLBX6HrdzsijwpNxJW7eFZasSmSJYa0p2mm5v8Re+ 84vey7urLRwigms1z0teM0BhwYxX0351J+v2l1USa/fAysWQLue8dXDRm4rX33eW/uB1 Jba1EYdYD0m9bkWc9lVdZQC6kV643VJMnuuFqwrXnBJUdQ/y2Q0gE3JHrgJChqZYcVko iSZhJr2zlywQljDVIZkT9mxyS9R3oMuBuYltYi1hnlaP9QRNSEmyFSsCGKdQicfZO1vl Q4Ng== X-Gm-Message-State: APjAAAUWeAmUc1fSt4d1M/ZjZ4367I5HFhsKnNu3sv2MgB/KZZgQFTcd c/p2JDj52s6ayEml7Gd9l+R7GQ7oDIBsWrrzfv8KgVnTJPo= X-Google-Smtp-Source: APXvYqzXFxDvWYGVaOUHt6fwhFkiQ8tuGhNgaKzjAlHsVDcf7mVC2jJas00PZ8ArscmcYtujoXf47ApV4wJzcL/9icA= X-Received: by 2002:a17:906:d504:: with SMTP id ge4mr77748375ejb.8.1561377463651; Mon, 24 Jun 2019 04:57:43 -0700 (PDT) In-Reply-To: <20190624111050.jindvg6j4hr5j226@Ergus> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::534 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:238091 Archived-At: On Mon, Jun 24, 2019 at 6:12 PM Ergus wrote: > 750| char* argv0 =3D realpath (argv[0], NULL); > 751| if (!argv0) > 752| fatal ("could not resolve realpath of \"%s\": %s", > 752| argv0, strerror (errno)); This looks wrong. If we called realpath and it returned null, we=E2=80=99d probably want the original argv[0] in the error message, not the null result.