on SEGFAULT tell were we where

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@603 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
Jan Kneschke 2005-08-21 23:09:43 +00:00
parent e8c45fbd58
commit 35d3c10d81
6 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include "bitset.h"

View File

@ -117,7 +117,7 @@ int light_isalnum(int c);
#define CONST_BUF_LEN(x) x->ptr, x->used - 1
#define SEGFAULT() abort()
#define SEGFAULT() do { fprintf(stderr, "%s.%d: aborted\n", __FILE__, __LINE__); abort(); } while(0)
#define UNUSED(x) ( (void)(x) )
#endif

View File

@ -16,6 +16,7 @@
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <errno.h>

View File

@ -3,6 +3,7 @@
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>

View File

@ -2,6 +2,7 @@
#include <ctype.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <time.h>

View File

@ -1,5 +1,6 @@
#include <ctype.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>