Index: squid/helpers/basic_auth/NCSA/ncsa_auth.c diff -c squid/helpers/basic_auth/NCSA/ncsa_auth.c:1.1.2.1 squid/helpers/basic_auth/NCSA/ncsa_auth.c:1.1.2.2 *** squid/helpers/basic_auth/NCSA/ncsa_auth.c:1.1.2.1 Sun Aug 11 19:13:39 2002 --- squid/helpers/basic_auth/NCSA/ncsa_auth.c Wed Aug 20 06:35:51 2003 *************** *** 80,85 **** --- 80,89 ---- exit(1); } f = fopen(passwdfile, "r"); + if (NULL == f) { + fprintf(stderr, "%s: %s\n", passwdfile, xstrerror()); + exit(1); + } while (fgets(buf, 8192, f) != NULL) { if ((buf[0] == '#') || (buf[0] == ' ') || (buf[0] == '\t') || (buf[0] == '\n'))