You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Behlendorf <br...@hyperreal.com> on 1996/03/27 21:15:56 UTC

lockfile patch (fwd)


---------- Forwarded message ----------
Date: Tue, 26 Mar 1996 13:40:29 -0800 (PST)
From: Sameer Parekh <sa...@laptop.c2.org>
To: new-httpd@hyperreal.com
Subject: lockfile patch

	This is trivial, if someone could commit it, that would
be great. (I wonder if this email will arrive.. patching apache
from 30,000 feet above california. wheeee.)


From: sameer <sa...@c2.org>
Subject: just making things clearer

*** http_main.c.orig	Tue Mar 26 13:38:20 1996
--- http_main.c	Tue Mar 26 13:35:47 1996
***************
*** 173,179 ****
      if (lock_fd == -1)
      {
  	perror ("open");
! 	fprintf (stderr, "Cannot open lock file\n");
  	exit (1);
      }
      unlink(lock_fname);
--- 173,179 ----
      if (lock_fd == -1)
      {
  	perror ("open");
! 	fprintf (stderr, "Cannot open lock file: %s\n", lock_fname);
  	exit (1);
      }
      unlink(lock_fname);