Merge branch 'v0.19.x'

This commit is contained in:
Max Kellermann 2014-12-12 13:14:29 +01:00
commit 4741d7bfe2
3 changed files with 4 additions and 2 deletions

1
NEWS
View File

@ -18,6 +18,7 @@ ver 0.20 (not yet released)
ver 0.19.7 (not yet released)
* playlist
- don't skip non-existent songs in "listplaylist"
* fix memory allocator bug on Windows
ver 0.19.6 (2014/12/08)
* decoder

View File

@ -67,7 +67,7 @@ input_stream_global_init(Error &error)
case InputPlugin::InitResult::UNAVAILABLE:
if (error.IsDefined()) {
FormatError(error,
"Input plugin '%s' is unavailable: ",
"Input plugin '%s' is unavailable",
plugin->name);
error.Clear();
}

View File

@ -70,7 +70,8 @@ gcc_malloc
static inline void *
HugeAllocate(size_t size)
{
return VirtualAlloc(nullptr, size, MEM_LARGE_PAGES, PAGE_READWRITE);
// TODO: use MEM_LARGE_PAGES
return VirtualAlloc(nullptr, size, MEM_RESERVE, PAGE_READWRITE);
}
static inline void