[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master b9ac4f8.. (Fix locating pdump by symlink) breaks with stow
From: |
Yuri Khan |
Subject: |
Re: master b9ac4f8.. (Fix locating pdump by symlink) breaks with stow |
Date: |
Mon, 24 Jun 2019 18:57:32 +0700 |
On Mon, Jun 24, 2019 at 6:12 PM Ergus <address@hidden> wrote:
> 750| char* argv0 = 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’d
probably want the original argv[0] in the error message, not the null
result.
- master b9ac4f8.. (Fix locating pdump by symlink) breaks with stow, Yuri D'Elia, 2019/06/24
- Re: master b9ac4f8.. (Fix locating pdump by symlink) breaks with stow, Ergus, 2019/06/24
- Re: master b9ac4f8.. (Fix locating pdump by symlink) breaks with stow,
Yuri Khan <=
- Re: master b9ac4f8.. (Fix locating pdump by symlink) breaks with stow, Ergus, 2019/06/24
- Re: master b9ac4f8.. (Fix locating pdump by symlink) breaks with stow, Daniel Colascione, 2019/06/24
- Re: master b9ac4f8.. (Fix locating pdump by symlink) breaks with stow, Ergus, 2019/06/24
- Re: master b9ac4f8.. (Fix locating pdump by symlink) breaks with stow, Daniel Colascione, 2019/06/24
- Re: master b9ac4f8.. (Fix locating pdump by symlink) breaks with stow, Ergus, 2019/06/24
- Re: master b9ac4f8.. (Fix locating pdump by symlink) breaks with stow, Ergus, 2019/06/24
- Re: master b9ac4f8.. (Fix locating pdump by symlink) breaks with stow, Andy Moreton, 2019/06/24
- Re: master b9ac4f8.. (Fix locating pdump by symlink) breaks with stow, Eli Zaretskii, 2019/06/24
- Re: master b9ac4f8.. (Fix locating pdump by symlink) breaks with stow, dancol, 2019/06/24
- Re: master b9ac4f8.. (Fix locating pdump by symlink) breaks with stow, Eli Zaretskii, 2019/06/24