mirror of
https://github.com/postgres/postgres.git
synced 2026-02-24 10:25:42 -05:00
Treat \r as white space when parsing pg_hba and related files.
Should make life easier for DBAs who insist on editing files with Windoze tools.
This commit is contained in:
parent
e37cce05b7
commit
893fe4919d
1 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@
|
|||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.84 2002/06/20 20:29:28 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.85 2002/06/26 14:52:08 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -74,7 +74,7 @@ static char *tokenize_inc_file(const char *inc_filename);
|
|||
static bool
|
||||
isblank(const char c)
|
||||
{
|
||||
return c == ' ' || c == '\t';
|
||||
return c == ' ' || c == '\t' || c == '\r';
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue