Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 206346 Details for
Bug 288022
Ebuild proposal for media-tv/tvheadend
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch for config directory in /etc
settingspath.patch (text/plain), 725 bytes, created by
Niels Ole Salscheider
on 2009-10-07 17:29:35 UTC
(
hide
)
Description:
Patch for config directory in /etc
Filename:
MIME Type:
Creator:
Niels Ole Salscheider
Created:
2009-10-07 17:29:35 UTC
Size:
725 bytes
patch
obsolete
>Index: tvheadend/src/settings.c >=================================================================== >--- src/settings.c (Revision 3571) >+++ src/settings.c (Arbeitskopie) >@@ -49,23 +49,7 @@ > void > hts_settings_init(const char *programname, const char *homedir) > { >- char buf[256]; >- struct stat st; >- >- if(homedir == NULL) >- homedir = getenv("HOME"); >- >- if(homedir == NULL) >- return; >- >- snprintf(buf, sizeof(buf), "%s/.hts", homedir); >- if(stat(buf, &st) == 0 || mkdir(buf, 0700) == 0) { >- >- snprintf(buf, sizeof(buf), "%s/.hts/%s", homedir, programname); >- >- if(stat(buf, &st) == 0 || mkdir(buf, 0700) == 0) >- settingspath = strdup(buf); >- } >+ settingspath = strdup("/etc/tvheadend"); > } > > /**
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 288022
:
206290
|
206342
|
206344
|
206345
|
206346
|
211587
|
212348
|
213314
|
213315
|
217903
|
217904
|
217906
|
220447
|
220449
|
220451
|
220453
|
220949
|
220951
|
236313
|
236363
|
238409
|
238413
|
251217
|
252533
|
252627
|
256934
|
258901
|
260125
|
284323
|
309907
|
319802
|
319842