diff options
author | Tor Andersson <tor@ghostscript.com> | 2009-03-11 01:44:12 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2009-03-11 01:44:12 +0100 |
commit | 5aaff8260abdaefdbf7a64d3e66b1928dfe5d726 (patch) | |
tree | febd7d6938978dac98dc0f7e6e501df46b6e3754 /fitz/util_strsep.c | |
parent | 5733fd611487151f33338b1ecda4819c26ccd25f (diff) | |
download | mupdf-5aaff8260abdaefdbf7a64d3e66b1928dfe5d726.tar.xz |
Add fz_catch function, and cause the throw/rethrow/catch functions to print the errors immediately.
Diffstat (limited to 'fitz/util_strsep.c')
-rw-r--r-- | fitz/util_strsep.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/fitz/util_strsep.c b/fitz/util_strsep.c deleted file mode 100644 index e54903ce..00000000 --- a/fitz/util_strsep.c +++ /dev/null @@ -1,11 +0,0 @@ -#include <string.h> - -char *strsep(char **stringp, const char *delim) -{ - char *ret = *stringp; - if (ret == NULL) return NULL; - if ((*stringp = strpbrk(*stringp, delim)) != NULL) - *((*stringp)++) = '\0'; - return ret; -} - |