Re: _CRT_glob stuff - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: _CRT_glob stuff
Date
Msg-id 2d2a35d0-24e8-4ff9-a006-4cb9fc233ae4@eisentraut.org
Whole thread Raw
In response to _CRT_glob stuff  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
On 18.09.25 12:02, Peter Eisentraut wrote:
> So it should look like
> 
> diff --git a/src/common/exec.c b/src/common/exec.c
> index 8b690a10185..cca89f04074 100644
> --- a/src/common/exec.c
> +++ b/src/common/exec.c
> @@ -46,7 +46,8 @@
> 
>   /* Inhibit mingw CRT's auto-globbing of command line arguments */
>   #if defined(WIN32) && !defined(_MSC_VER)
> -extern int _CRT_glob = 0;      /* 0 turns off globbing; 1 turns it on */
> +extern int _CRT_glob;
> +int            _CRT_glob = 0;      /* 0 turns off globbing; 1 turns it 
> on */
>   #endif
> 
>   /*

I have committed this.



pgsql-hackers by date:

Previous
From: Daniil Davydov
Date:
Subject: Re: Problem while updating a foreign table pointing to a partitioned table on foreign server
Next
From: Dilip Kumar
Date:
Subject: Re: pgstattuple "unexpected zero page" for gist and hash indexes