Commit 893fe491 authored by Tom Lane's avatar Tom Lane

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.
parent e37cce05
......@@ -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';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment