Summary: | games-arcade/tomatoes-1.55 is unable to open config file on amd64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tony Vroon (RETIRED) <chainsaw> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | amd64, voyageur |
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch to fix c_str use |
Description
Tony Vroon (RETIRED)
![]() Ah C++ and its wonders... The c_str function translates a C++ string into a C char*, but this pointer will only be available for the next instruction! So using it to return the correct path will not work... I fixed up a patch to it (thanks strcpy), so I could burst some tomatoes happily ;) Created attachment 79615 [details, diff]
Patch to fix c_str use
The package has been revision bumped to make sure that your fix reaches all ~amd64 users. Thanks for your work on this Bernard :) You're welcome, smashing tomatoes is good for people, even ~amd64 ones ;) |