Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 895027 Details for
Bug 1097109
taglib build-in tests fail on BE machines
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
taglib fix
taglib-BEfix.patch (text/plain), 1.52 KB, created by
Jakub Čajka
on 2014-05-13 07:35:47 UTC
(
hide
)
Description:
taglib fix
Filename:
MIME Type:
Creator:
Jakub Čajka
Created:
2014-05-13 07:35:47 UTC
Size:
1.52 KB
patch
obsolete
>diff --git a/taglib/toolkit/tstring.cpp b/taglib/toolkit/tstring.cpp >index 603455a..20e4d62 100644 >--- a/taglib/toolkit/tstring.cpp >+++ b/taglib/toolkit/tstring.cpp >@@ -844,7 +844,11 @@ void String::copyFromUTF16(const char *s, size_t length, Type t) > > d->data.resize(length / 2); > for(size_t i = 0; i < length / 2; ++i) { >- d->data[i] = swap ? combine(*s, *(s + 1)) : combine(*(s + 1), *s); >+ #if SYSTEM_BYTEORDER == 2 // big endian >+ d->data[i] = swap ? combine(*(s+1), *(s)) : combine(*(s), *(s+1)); >+ #else // little endian >+ d->data[i] = swap ? combine(*(s), *(s+1)) : combine(*(s+1), *(s)); >+ #endif > s += 2; > } > } >diff --git a/tests/test_flac.cpp b/tests/test_flac.cpp >index caec715..364fb11 100644 >--- a/tests/test_flac.cpp >+++ b/tests/test_flac.cpp >@@ -91,6 +91,7 @@ public: > newpic->setData("JPEG data"); > f->addPicture(newpic); > f->save(); >+ delete f; > > f = new FLAC::File(newname.c_str()); > lst = f->pictureList(); >@@ -138,6 +139,7 @@ public: > f->removePictures(); > f->addPicture(newpic); > f->save(); >+ delete f; > > f = new FLAC::File(newname.c_str()); > lst = f->pictureList(); >@@ -165,6 +167,7 @@ public: > > f->removePictures(); > f->save(); >+ delete f; > > f = new FLAC::File(newname.c_str()); > lst = f->pictureList(); >@@ -185,6 +188,7 @@ public: > tag->setTitle("NEW TITLE 2"); > f->save(); > CPPUNIT_ASSERT_EQUAL(String("NEW TITLE 2"), tag->title()); >+ delete f; > > f = new FLAC::File(newname.c_str()); > tag = f->tag();
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 1097109
: 895027