Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 180463 Details for
Bug 257138
dev-embedded/pk2cmd-1.20 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
dev file path patch
pk2cmd-1.20-add-share-dir-for-dev-file.patch (text/plain), 668 bytes, created by
Thomas Axelsson
on 2009-01-31 20:33:27 UTC
(
hide
)
Description:
dev file path patch
Filename:
MIME Type:
Creator:
Thomas Axelsson
Created:
2009-01-31 20:33:27 UTC
Size:
668 bytes
patch
obsolete
>--- cmd_app.cpp.old 2009-01-31 21:23:30.000000000 +0100 >+++ cmd_app.cpp 2009-01-31 21:25:48.000000000 +0100 >@@ -88,7 +88,12 @@ > _tsearchenv_s("PK2DeviceFile.dat", "PATH", tempString); > if (_tcslen(tempString) < 17) > { >- _tcsncpy_s(tempString, "PK2DeviceFile.dat", 17); >+ // Try /usr/share/pk2 first >+ _tcsncpy_s(tempString, "/usr/share/pk2/PK2DeviceFile.dat", 32); >+ >+ if(access(tempString, 0)) >+ // Well, that didn't work, default to the current directory >+ _tcsncpy_s(tempString, "PK2DeviceFile.dat", 17); > } > } > if (!PicFuncs.ReadDeviceFile(tempString))
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 257138
:
180462
| 180463