*** pgsql/src/backend/libpq/hba.c 2008/01/01 19:45:49 1.164 --- pgsql/src/backend/libpq/hba.c 2010/03/03 20:31:22 1.164.2.1 *************** *** 10,16 **** * * * IDENTIFICATION ! * $PostgreSQL: pgsql/src/backend/libpq/hba.c,v 1.163 2007/11/15 21:14:35 momjian Exp $ * *------------------------------------------------------------------------- */ --- 10,16 ---- * * * IDENTIFICATION ! * $PostgreSQL: pgsql/src/backend/libpq/hba.c,v 1.164 2008/01/01 19:45:49 momjian Exp $ * *------------------------------------------------------------------------- */ *************** tokenize_file(const char *filename, FILE *** 412,418 **** *lines = *line_nums = NIL; ! while (!feof(file)) { buf = next_token_expand(filename, file); --- 412,418 ---- *lines = *line_nums = NIL; ! while (!feof(file) && !ferror(file)) { buf = next_token_expand(filename, file);