| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: _CRT_glob stuff |
| Date: | 2025-10-01 15:19:56 |
| Message-ID: | 2d2a35d0-24e8-4ff9-a006-4cb9fc233ae4@eisentraut.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dilip Kumar | 2025-10-01 15:23:01 | Re: pgstattuple "unexpected zero page" for gist and hash indexes |
| Previous Message | Daniil Davydov | 2025-10-01 15:18:06 | Re: Problem while updating a foreign table pointing to a partitioned table on foreign server |