Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:Test
libPropList
libPropList-0.10.1-yyparse.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libPropList-0.10.1-yyparse.patch of Package libPropList
--- filehandling.c +++ filehandling.c @@ -47,7 +47,7 @@ pl_line_count = 1; bufstate = (void *)pl_scan_string(description); - if (plparse() != 0) + if (plparse() == 0) obj = parse_result; /* What was returned? */ pl_delete_buffer(bufstate); --- proplist_y.y +++ proplist_y.y @@ -30,17 +30,17 @@ { /* want an object, followed by nothing else (<<EOF>>) */ parse_result = $1; - return (int)$1; + YYACCEPT; } | error { parse_result = (proplist_t)NULL; - return (int)NULL; + YYABORT; } | ERROR { parse_result = (proplist_t)NULL; - return (int)NULL; + YYABORT; } ; @@ -50,7 +50,7 @@ | dictionary | error { - return (int)NULL; + YYABORT; } ; @@ -59,7 +59,7 @@ | '(' ')' {$$ = PLMakeArrayFromElements(NULL);} | error - { return (int)NULL; } + { YYABORT; } ; objlist: objlist ',' object {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor