* array_isspace() --- a non-locale-dependent isspace() * * We used to use isspace() for parsing array values, but that has * undesirable results: an array value might be silently interpreted * differently depending on the locale setting. Now we just hard-wire * the traditional ASCII definition of isspace(). */
| 436 | * the traditional ASCII definition of isspace(). |
| 437 | */ |
| 438 | static bool |
| 439 | array_isspace(char ch) |
| 440 | { |
| 441 | if (ch == ' ' || |
| 442 | ch == '\t' || |
| 443 | ch == '\n' || |
| 444 | ch == '\r' || |
| 445 | ch == '\v' || |
| 446 | ch == '\f') |
| 447 | return true; |
| 448 | return false; |
| 449 | } |
| 450 | |
| 451 | /* |
| 452 | * ArrayCount |
no outgoing calls
no test coverage detected