Merge branch 'v0.20.x'
This commit is contained in:
@@ -86,7 +86,7 @@ struct Directory {
|
||||
|
||||
Directory *const parent;
|
||||
time_t mtime = 0;
|
||||
unsigned inode = 0, device = 0;
|
||||
uint64_t inode = 0, device = 0;
|
||||
|
||||
const std::string path;
|
||||
|
||||
|
@@ -43,7 +43,8 @@ FillBuffer(DecoderClient &client, InputStream &is, B &buffer)
|
||||
{
|
||||
buffer.Shift();
|
||||
auto w = buffer.Write();
|
||||
assert(!w.IsEmpty());
|
||||
if (w.IsEmpty())
|
||||
return true;
|
||||
|
||||
size_t nbytes = decoder_read(client, is, w.data, w.size);
|
||||
if (nbytes == 0 && is.LockIsEOF())
|
||||
|
@@ -287,8 +287,6 @@ roar_tag_convert(TagType type, bool *is_uuid)
|
||||
case TAG_MUSICBRAINZ_ALBUMID:
|
||||
case TAG_MUSICBRAINZ_ALBUMARTISTID:
|
||||
case TAG_MUSICBRAINZ_TRACKID:
|
||||
*is_uuid = true;
|
||||
return "HASH";
|
||||
case TAG_MUSICBRAINZ_RELEASETRACKID:
|
||||
*is_uuid = true;
|
||||
return "HASH";
|
||||
|
@@ -50,7 +50,7 @@ struct StorageFileInfo {
|
||||
* Device id and inode number. 0 means unknown / not
|
||||
* applicable.
|
||||
*/
|
||||
unsigned device, inode;
|
||||
uint64_t device, inode;
|
||||
|
||||
StorageFileInfo() = default;
|
||||
|
||||
|
@@ -45,7 +45,7 @@ public:
|
||||
explicit ScopeExitGuard(F &&f):F(std::forward<F>(f)) {}
|
||||
|
||||
ScopeExitGuard(ScopeExitGuard &&src)
|
||||
:F(std::move(src)) {
|
||||
:F(std::move(src)), enabled(src.enabled) {
|
||||
src.enabled = false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user