ALT Linux Bugzilla
– Attachment 1339 Details for
Bug 8838
$HOME/.dvdcss
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
$TMPDIR/dvdcss
xine-lib-1.1.0-dvdcss-tmpdir.patch (text/plain), 1.33 KB, created by
Valery Inozemtsev
on 2006-01-14 14:06:33 MSK
(
hide
)
Description:
$TMPDIR/dvdcss
Filename:
MIME Type:
Creator:
Valery Inozemtsev
Created:
2006-01-14 14:06:33 MSK
Size:
1.33 KB
patch
obsolete
>--- xine-lib-1.1.0/src/input/libdvdnav/remap.c.tmpdir 2003-08-26 01:51:40 +0400 >+++ xine-lib-1.1.0/src/input/libdvdnav/remap.c 2006-01-14 12:47:05 +0300 >@@ -189,9 +189,9 @@ > remap_t *map; > > /* Build the map filename */ >- home = getenv("HOME"); assert(home); >+ home = getenv("TMPDIR"); assert(home); > strncpy(fname, home, sizeof(fname)); >- strncat(fname, "/.dvdnav/", sizeof(fname)); >+ strncat(fname, "/dvdnav/", sizeof(fname)); > strncat(fname, title, sizeof(fname)); > strncat(fname, ".map", sizeof(fname)); > >--- xine-lib-1.1.0/src/input/input_dvd.c.tmpdir 2005-07-11 15:35:41 +0400 >+++ xine-lib-1.1.0/src/input/input_dvd.c 2006-01-14 12:53:31 +0300 >@@ -1789,8 +1789,10 @@ > "playing scrambled DVDs."), 20, NULL, NULL); > xine_setenv("DVDCSS_METHOD", decrypt_modes[mode], 0); > >- css_cache_default = (char *)malloc(strlen(xine_get_homedir()) + 10); >- sprintf(css_cache_default, "%s/.dvdcss/", xine_get_homedir()); >+ char *xine_tmp_dir; >+ xine_tmp_dir = getenv("TMPDIR"); >+ css_cache_default = (char *)malloc(strlen(xine_tmp_dir) + 10); >+ sprintf(css_cache_default, "%s/dvdcss/", xine_tmp_dir); > css_cache = config->register_string(config, "media.dvd.css_cache_path", css_cache_default, > _("path to the title key cache"), > _("Since cracking the copy protection of scrambled DVDs can "
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 8838
: 1339