Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 39339 Details for
Bug 62955
uade 0.91 is stable on amd64
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
second bug fix attempt on uade 0.91 beepmp plugin problem
uade-0.91-beep-media-player-fix2.diff (text/plain), 1.22 KB, created by
Heikki Orsila
on 2004-09-10 11:48:12 UTC
(
hide
)
Description:
second bug fix attempt on uade 0.91 beepmp plugin problem
Filename:
MIME Type:
Creator:
Heikki Orsila
Created:
2004-09-10 11:48:12 UTC
Size:
1.22 KB
patch
obsolete
>diff -u -r uade-0.91-org/plugindir/beepmp/uade.c uade-0.91/plugindir/beepmp/uade.c >--- uade-0.91-org/plugindir/beepmp/uade.c 2004-09-10 21:36:16.569584744 +0300 >+++ uade-0.91/plugindir/beepmp/uade.c 2004-09-10 21:36:33.496011536 +0300 >@@ -305,9 +305,12 @@ > /* xmms calls this function to check song */ > static int is_our_file(char *filename) { > int ours; >+ const char *prefix = "file://"; > if(!uade_is_operational) { > return FALSE; > } >+ if (strncasecmp(filename, prefix, strlen(prefix)) == 0) >+ filename += strlen(prefix); > ours = check_my_file(filename, 0, 0); > if (ours) { > FILE *f = fopen(filename, "rb"); >@@ -648,6 +651,10 @@ > int *songdata; > char *tempname; > int have_name_hash; >+ const char *prefix = "file://"; >+ >+ if (strncasecmp(filename, prefix, strlen(prefix)) == 0) >+ filename += strlen(prefix); > > if (playingbit) { > fprintf(stderr, "uade: A serious bug has been detected:\n"); >@@ -1059,6 +1066,10 @@ > static void get_song_info(char *filename, char **title, int *length) { > char *temp; > char md5namehash[33]; >+ const char *prefix = "file://"; >+ >+ if (strncasecmp(filename, prefix, strlen(prefix)) == 0) >+ filename += strlen(prefix); > > temp = strrchr(filename, (int) '/'); > if (temp) {
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 62955
: 39339