OLD | NEW |
1 /* Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd | 1 /* Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd |
2 See the file COPYING for copying permission. | 2 See the file COPYING for copying permission. |
3 */ | 3 */ |
4 | 4 |
5 #include <stddef.h> | 5 #include <stddef.h> |
6 #include <string.h> /* memset(), memcpy() */ | 6 #include <string.h> /* memset(), memcpy() */ |
7 #include <assert.h> | 7 #include <assert.h> |
8 #include <limits.h> /* UINT_MAX */ | 8 #include <limits.h> /* UINT_MAX */ |
9 #include <time.h> /* time() */ | 9 #include <time.h> /* time() */ |
10 | 10 |
(...skipping 6383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6394 return NULL; | 6394 return NULL; |
6395 if (ret->name != name) | 6395 if (ret->name != name) |
6396 poolDiscard(&dtd->pool); | 6396 poolDiscard(&dtd->pool); |
6397 else { | 6397 else { |
6398 poolFinish(&dtd->pool); | 6398 poolFinish(&dtd->pool); |
6399 if (!setElementTypePrefix(parser, ret)) | 6399 if (!setElementTypePrefix(parser, ret)) |
6400 return NULL; | 6400 return NULL; |
6401 } | 6401 } |
6402 return ret; | 6402 return ret; |
6403 } | 6403 } |
OLD | NEW |