diff options
| author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-09 21:01:05 +0000 |
|---|---|---|
| committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-09 21:01:05 +0000 |
| commit | d7d01bdc5c667a1fafd95241282b58e03b4caa5b (patch) | |
| tree | f1482d8734da609923c6d8af6bc8fcb0fc187534 /src/memory.c | |
| parent | d49b3a25fda5f597491e73640dd1e76babc240eb (diff) | |
Squashed commit: merge next (1.9.1) back to trunk.
SVN users, NOTE: THIS WILL NOT BUILD, NOR SHOULD YOU RUN IT YET.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1953 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/memory.c')
| -rw-r--r-- | src/memory.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/memory.c b/src/memory.c index 67cf167a1..804961f95 100644 --- a/src/memory.c +++ b/src/memory.c @@ -37,11 +37,7 @@ void *smalloc(long size) } buf = malloc(size); if (!buf) -#ifndef _WIN32 - raise(SIGUSR1); -#else abort(); -#endif return buf; } @@ -62,11 +58,7 @@ void *scalloc(long elsize, long els) } buf = calloc(elsize, els); if (!buf) -#ifndef _WIN32 - raise(SIGUSR1); -#else abort(); -#endif return buf; } @@ -87,11 +79,7 @@ void *srealloc(void *oldptr, long newsize) } buf = realloc(oldptr, newsize); if (!buf) -#ifndef _WIN32 - raise(SIGUSR1); -#else abort(); -#endif return buf; } @@ -109,11 +97,7 @@ char *sstrdup(const char *src) if (src) { ret = new char[strlen(src) + 1]; if (!ret) -#ifndef _WIN32 - raise(SIGUSR1); -#else abort(); -#endif strcpy(ret, src); } else { alog("sstrdup() called with NULL-arg"); |
