chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'branchpoint-5.1' into release
[disorder]
/
libtests
/
test.c
diff --git
a/libtests/test.c
b/libtests/test.c
index 73bfdd2a8421badb8ef5a7426bd58dd4a0d25646..3270d470ab47e9d0393bf0925140136e5ff5bc7f 100644
(file)
--- a/
libtests/test.c
+++ b/
libtests/test.c
@@
-1,6
+1,6
@@
/*
* This file is part of DisOrder.
/*
* This file is part of DisOrder.
- * Copyright (C) 2005, 2007
, 2008
Richard Kettlewell
+ * Copyright (C) 2005, 2007
-2009
Richard Kettlewell
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-102,7
+102,8
@@
uint32_t *ucs4parse(const char *s) {
while(*s) {
errno = 0;
dynstr_ucs4_append(&d, strtoul(s, &e, 0));
while(*s) {
errno = 0;
dynstr_ucs4_append(&d, strtoul(s, &e, 0));
- if(errno) fatal(errno, "strtoul (%s)", s);
+ if(errno)
+ disorder_fatal(errno, "strtoul (%s)", s);
s = e;
}
dynstr_ucs4_terminate(&d);
s = e;
}
dynstr_ucs4_terminate(&d);