Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 234583 Details for
Bug 323249
games-util/nforenum crashes when $HOME ends in a slash
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
nforenum-0_pre2309-string.patch
nforenum-0_pre2309-string.patch (text/plain), 429 bytes, created by
David Leverton
on 2010-06-08 20:19:56 UTC
(
hide
)
Description:
nforenum-0_pre2309-string.patch
Filename:
MIME Type:
Creator:
David Leverton
Created:
2010-06-08 20:19:56 UTC
Size:
429 bytes
patch
obsolete
>--- nforenum-r2309/data.cpp~ 2010-03-07 02:28:26.000000000 +0000 >+++ nforenum-r2309/data.cpp 2010-06-08 21:00:33.000000000 +0100 >@@ -648,7 +648,7 @@ > if(dir=="")return false; > struct stat Stat; > if(dir[dir.length()-1]=='\\'||dir[dir.length()-1]=='/') >- dir[dir.length()-1]='\0'; >+ dir.resize(dir.length()-1); > if(stat((dir+"/.renum").c_str(),&Stat))return false; > else if(Stat.st_mode&S_IFREG)return false; > return true;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 323249
: 234583