This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Don't assume __secure_getenv is available
- From: "Janne Blomqvist via gcc-patches" <gcc-patches at gcc dot gnu dot org>
- To: Fortran List <fortran at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 8 May 2017 09:37:28 +0300
- Subject: Re: [PATCH] Don't assume __secure_getenv is available
- Authentication-results: sourceware.org; auth=none
- References: <20170427125804.GZ1809@tucnak> <1493319051-25795-1-git-send-email-blomqvist.janne@gmail.com> <CAO9iq9GN3xyT0pDubNKmMUH8jg7t4aXzeHWkO2JANtBTUhvn7A@mail.gmail.com>
- Reply-to: Janne Blomqvist <blomqvist dot janne at gmail dot com>
PING
On Thu, Apr 27, 2017 at 9:55 PM, Janne Blomqvist
<blomqvist.janne@gmail.com> wrote:
> On Thu, Apr 27, 2017 at 9:50 PM, Janne Blomqvist
> <blomqvist.janne@gmail.com> wrote:
> [snip]
>
> And on top of that patch this simple typo fix:
>
> diff --git a/libgfortran/runtime/environ.c b/libgfortran/runtime/environ.c
> index 969dcdf..f488e87 100644
> --- a/libgfortran/runtime/environ.c
> +++ b/libgfortran/runtime/environ.c
> @@ -46,7 +46,7 @@ static char* weak_secure_getenv (const char*)
> char *
> secure_getenv (const char *name)
> {
> -#if SUPPORTS_WEAKREF && defined(HAVE__SECURE_GETENV)
> +#if SUPPORTS_WEAKREF && defined(HAVE___SECURE_GETENV)
> if (weak_secure_getenv)
> return weak_secure_getenv (name);
> #endif
>
>
>
> --
> Janne Blomqvist
--
Janne Blomqvist