Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 161909 Details for
Bug 233582
media-libs/libmpd-0.15.0 uses "new" as one of its function parameter
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch taken from upstream resolving this issue
libmpd-remove-new-as-parameter.patch (text/plain), 1.66 KB, created by
Andrzej Rybczak
on 2008-08-01 13:15:01 UTC
(
hide
)
Description:
patch taken from upstream resolving this issue
Filename:
MIME Type:
Creator:
Andrzej Rybczak
Created:
2008-08-01 13:15:01 UTC
Size:
1.66 KB
patch
obsolete
>From: Qball Cow <qball@QDesk.site> >Date: Wed, 30 Jul 2008 19:05:48 +0000 (+0200) >Subject: removing new as parameter >X-Git-Url: http://repo.or.cz/w/libmpd.git?a=commitdiff_plain;h=9ff13b4ef0e250a18a2b5231dcb22791704808a5;hp=79fea3d08b05f6fe90441c38441279629fc50df8 > >removing new as parameter >--- > >diff --git a/src/libmpd-database.c b/src/libmpd-database.c >index ebfa92e..e91478e 100644 >--- a/src/libmpd-database.c >+++ b/src/libmpd-database.c >@@ -1001,9 +1001,9 @@ MpdData * mpd_database_get_directory_recursive(MpdObj *mi, const char *path) > } > return mpd_data_get_first(data); > } >-void mpd_database_playlist_rename(MpdObj *mi, const char *old, const char *new) >+void mpd_database_playlist_rename(MpdObj *mi, const char *old_name, const char *new_name) > { >- if(!new || !old) >+ if(!new_name || !old_name) > { > debug_printf(DEBUG_ERROR, "old != NULL && new != NULL failed"); > return; >@@ -1021,7 +1021,7 @@ void mpd_database_playlist_rename(MpdObj *mi, const char *old, const char *new) > return ; > } > >- mpd_sendRenameCommand(mi->connection, (char *)old,(char *)new); >+ mpd_sendRenameCommand(mi->connection, (char *)old_name,(char *)new_name); > mpd_finishCommand(mi->connection); > > mpd_unlock_conn(mi); >diff --git a/src/libmpd-database.h b/src/libmpd-database.h >index 6c37394..66f2e71 100644 >--- a/src/libmpd-database.h >+++ b/src/libmpd-database.h >@@ -311,7 +311,7 @@ void mpd_database_playlist_clear(MpdObj *mi,const char *path); > * Renames a stored playlist > * Needs mpd 0.13.0 > */ >-void mpd_database_playlist_rename(MpdObj *mi, const char *old, const char *new); >+void mpd_database_playlist_rename(MpdObj *mi, const char *old_name, const char *new_name); > > /** > * @param mi a #MpdObj
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 233582
: 161909