]> granicus.if.org Git - postgresql/commitdiff
[Forced commit to add log message that I fat-fingered last time]
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 8 Jan 2004 06:01:21 +0000 (06:01 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 8 Jan 2004 06:01:21 +0000 (06:01 +0000)
Give a more reasonable error message when lock file exists but has
zero length; prior code confused this with could-not-read-file case.

src/backend/utils/init/miscinit.c

index 82a6d2777299ede47607971b629f8ebfa1881f9d..b2ed8a58d3257a3ea428550f5e84f6c017c50780 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/utils/init/miscinit.c,v 1.118 2004/01/07 23:03:06 tgl Exp $
+ *       $PostgreSQL: pgsql/src/backend/utils/init/miscinit.c,v 1.119 2004/01/08 06:01:21 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -23,7 +23,6 @@
 #include <unistd.h>
 #include <grp.h>
 #include <pwd.h>
-#include <errno.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #ifdef HAVE_UTIME_H