* [gentoo-commits] gentoo-x86 commit in media-sound/qmpdclient/files: directory_listing_gcc44.patch
@ 2010-03-15 15:37 Markos Chandras (hwoarang)
0 siblings, 0 replies; 2+ messages in thread
From: Markos Chandras (hwoarang) @ 2010-03-15 15:37 UTC (permalink / raw
To: gentoo-commits
hwoarang 10/03/15 15:37:17
Added: directory_listing_gcc44.patch
Log:
Patch to fix empty directory listing (gcc-4.4). Fixes bug #284524
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Revision Changes Path
1.1 media-sound/qmpdclient/files/directory_listing_gcc44.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qmpdclient/files/directory_listing_gcc44.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qmpdclient/files/directory_listing_gcc44.patch?rev=1.1&content-type=text/plain
Index: directory_listing_gcc44.patch
===================================================================
commit d306047d90177900018547610209f2c290794d10
Author: jb <noobinet@gmail.com>
Date: Wed Mar 3 01:03:03 2010 +0100
Fix the empty directory view bug.
Dunno at all if it's ok to do that, but at least it works
diff --git a/src/mpddirectory.cpp b/src/mpddirectory.cpp
index f4ded77..79fa7b0 100644
--- a/src/mpddirectory.cpp
+++ b/src/mpddirectory.cpp
@@ -59,7 +59,7 @@ MPDDirectory::MPDDirectory(const MPDDirectory &other) : d(other.d) {}
MPDDirectory::~MPDDirectory() {}
bool MPDDirectory::isNull() const {
- return d == NULL;
+ return !d;
}
MPDDirectoryPointer *MPDDirectory::pointer() const {
diff --git a/src/mpddirectory.h b/src/mpddirectory.h
index a7e4cfd..6042187 100644
--- a/src/mpddirectory.h
+++ b/src/mpddirectory.h
@@ -55,7 +55,7 @@ public:
MPDDirectory &operator=(const MPDDirectory &);
private:
- QSharedDataPointer<MPDDirectoryPrivate> d;
+ QExplicitlySharedDataPointer<MPDDirectoryPrivate> d;
};
class MPDDirectoryPointer {
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in media-sound/qmpdclient/files: directory_listing_gcc44.patch
@ 2010-06-29 20:44 Christoph Mende (angelos)
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Mende (angelos) @ 2010-06-29 20:44 UTC (permalink / raw
To: gentoo-commits
angelos 10/06/29 20:44:03
Removed: directory_listing_gcc44.patch
Log:
Removed old
(Portage version: 2.1.8.3/cvs/Linux x86_64)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-29 20:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-15 15:37 [gentoo-commits] gentoo-x86 commit in media-sound/qmpdclient/files: directory_listing_gcc44.patch Markos Chandras (hwoarang)
-- strict thread matches above, loose matches on Subject: below --
2010-06-29 20:44 Christoph Mende (angelos)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox