-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply recent librdfa changes from raptor.
Raptor commit 1f5229f5ca928600e0d35fa95be6d7118ca95b9d (rdfa_complete_list_triples): Init tmp for error path librdfa/lists.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Raptor commit 0aba31c7e901eac0832f8345b0f4deeefb223af1 (rdfa_resolve_uri): Check end_index2 is not NULL librdfa/curie.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) Raptor commit 0ae694d3b355f4e613b9dee397a4ddfdf4628ade (rdfa_complete_list_triples): strdup and strstr output. (rdfa_complete_list_triples): Be careful for strdup and strstr returning NULL. librdfa/lists.c | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) Raptor commit 8f5b88310cae3b4c44731c3bf5dd9bc22c51ab72 (end_element): Do not call rdfa_complete_list_triples() with no new subject librdfa/rdfa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Raptor commit 8939d80a6f0af8796131a1de060972474bd12773 (rdfa_complete_object_literal_triples) strchr on NULL (rdfa_complete_object_literal_triples): Need non NULL context->xml_literal to do strchr() on it librdfa/triple.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Raptor commit dc5960c35485a8c084b0b067c0bc891ffa5369b5 (rdfa_complete_current_property_value_triples): Remove duplicate variable librdfa/triple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Raptor commit 9447e886ad66a1c3dd2c877341feca639824488a (rdfa_init_base): Fix uri_start dead code again librdfa/rdfa.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) Raptor commit b24f25aac56afafa8053cf03fcb2239353a8e219 (rdfa_complete_object_literal_triples): NULL check for context->xml_literal librdfa/triple.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Raptor commit bf1db0edfc36384ae2e12626ba54a328387dcdf4 (end_element): Add parent_context check around block librdfa/rdfa.c | 94 ++++++++++++++++++++++++++++++---------------------------- 1 file changed, 48 insertions(+), 46 deletions(-) Raptor commit 8a6cca381acc8cd6b84d96b08f70cb69740d109f (rdfa_init_base): Check for uri_start before use librdfa/rdfa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Raptor commit c9eed2429a29bf70cb86befb78a42f5cc2b8ff7e (rdfa_complete_list_triples): Free bnode after loop Also strdup() the rdf:nil string so it can be freed. librdfa/lists.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Raptor commit d8914ade521220525ffd3d2381828587cc980db8 librdfa fixes for -Wunreachable-code (clang) librdfa/lists.c | 36 ++++++++++++++++-------------------- librdfa/rdfa.c | 44 ++++++++++++++++++++------------------------ 2 files changed, 36 insertions(+), 44 deletions(-)
- Loading branch information
Showing
4 changed files
with
121 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.