Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:games
acm
fix_inventory.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_inventory.patch of Package acm
Index: acm-6.0+20200416/src/acm/inventory.c =================================================================== --- acm-6.0+20200416.orig/src/acm/inventory.c +++ acm-6.0+20200416/src/acm/inventory.c @@ -1293,7 +1293,7 @@ ParseAircraft(struct lex_record *p, craf } else { - sprintf(s, "\"%s\" is not a valid aircraft type", token); + sprintf(s, "\"%.99s\" is not a valid aircraft type", token); ParseError(p, s); } } @@ -1309,17 +1309,17 @@ ParseAircraft(struct lex_record *p, craf else if( strcmp(token, "GenericRocketEngine") == 0 ) xxx.engineType = inventory_GenericRocketEngine; else { - sprintf(s, "unknown engine type: \"%s\"", token); + sprintf(s, "unknown engine type: \"%.99s\"", token); ParseError(p, s); } } else { - sprintf(s, "unexpected token: \"%s\"", token); + sprintf(s, "unexpected token: \"%.99s\"", token); ParseError(p, s); } } else { - sprintf(s, "unexpected token: \"%s\"", token); + sprintf(s, "unexpected token: \"%.99s\"", token); ParseError(p, s); } break; @@ -1440,7 +1440,7 @@ ParseAircraft(struct lex_record *p, craf return 0; } else { - sprintf(s, "\"%s\" was found where another token was\ + sprintf(s, "\"%.99s\" was found where another token was\ expected", token); ParseError(p, s); return -1;
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