Skip to content

Commit 632afb7

Browse files
committed
Fix skip_space macro to make it correctly handle utf-8 on systems with broken locales such as Solaris
1 parent bb3c02b commit 632afb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pg_hint_plan/pg_hint_plan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ PG_MODULE_MAGIC;
9090
errdetail detail))
9191

9292
#define skip_space(str) \
93-
while (isspace(*str)) \
93+
while (isspace(*str) && (*str &0x80)== 0) \
9494
str++;
9595

9696
enum

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy