cvs: pecl /apc apc_fcntl.c
| From: | George Schlossnagle | Date: | Fri, 27 Jun 2003 15:56:43 +0000 |
| Subject: | cvs: pecl /apc apc_fcntl.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-338@lists.php.net to get a copy of this message | ||
gschlossnagle Fri Jun 27 11:56:43 2003 EDT
Modified files:
/pecl/apc apc_fcntl.c
Log:
better debug message
Index: pecl/apc/apc_fcntl.c
diff -u pecl/apc/apc_fcntl.c:3.11 pecl/apc/apc_fcntl.c:3.12
--- pecl/apc/apc_fcntl.c:3.11 Fri Jun 27 11:52:21 2003
+++ pecl/apc/apc_fcntl.c Fri Jun 27 11:56:43 2003
@@ -14,7 +14,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: apc_fcntl.c,v 3.11 2003/06/27 15:52:21 gschlossnagle Exp $ */
+/* $Id: apc_fcntl.c,v 3.12 2003/06/27 15:56:43 gschlossnagle Exp $ */
#include "apc_fcntl.h"
#include "apc.h"
@@ -30,10 +30,9 @@
unlink(pathname);
return fd;
} else {
- fprintf(stderr, "failed to open %s\n", pathname);
- assert(0);
- return -1;
+ apc_eprint("apc_fcntl_create: open(%s, O_RDWR|O_CREAT, 0666) failed:", pathname);
}
+ return -1;
}
void apc_fcntl_destroy(int fd)