Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 107453 Details for
Bug 162813
games-emulation/psemu-cdriso-1.4 saves cfg in wrong directory
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
1.4-config-cfgpath.patch
1.4-config-cfgpath.patch (text/plain), 637 bytes, created by
Roberto Castagnola
on 2007-01-19 15:29:48 UTC
(
hide
)
Description:
1.4-config-cfgpath.patch
Filename:
MIME Type:
Creator:
Roberto Castagnola
Created:
2007-01-19 15:29:48 UTC
Size:
637 bytes
patch
obsolete
>--- cdriso/src/Linux/Config.c.orig 2003-04-06 07:49:57.000000000 +0200 >+++ cdriso/src/Linux/Config.c 2006-05-22 13:38:34.000000000 +0200 >@@ -6,10 +6,8 @@ > > void LoadConf() { > FILE *f; >- char cfg[255]; > >- sprintf(cfg, "%s/cdriso.cfg", getenv("HOME")); >- f = fopen(cfg, "r"); >+ f = fopen("cfg/cdriso.cfg", "r"); > if (f == NULL) { > strcpy(IsoFile, DEV_DEF); > strcpy(CdDev, CDDEV_DEF); >@@ -24,10 +22,8 @@ > > void SaveConf() { > FILE *f; >- char cfg[255]; > >- sprintf(cfg, "%s/cdriso.cfg", getenv("HOME")); >- f = fopen(cfg, "w"); >+ f = fopen("cfg/cdriso.cfg", "w"); > if (f == NULL) > return; > fprintf(f, "IsoFile = %s\n", IsoFile);
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 Raw
Actions:
View
Attachments on
bug 162813
: 107453