Bump liberty

Pulling in kqueue support.
This commit is contained in:
Přemysl Eric Janouch 2015-08-06 21:14:19 +02:00
parent c0ff71e9be
commit 268a359cf4
3 changed files with 9 additions and 3 deletions

View File

@ -19,6 +19,12 @@ set (project_VERSION "${project_VERSION_MAJOR}")
set (project_VERSION "${project_VERSION}.${project_VERSION_MINOR}")
set (project_VERSION "${project_VERSION}.${project_VERSION_PATCH}")
if ("${CMAKE_SYSTEM_NAME}" MATCHES "BSD")
# Need this in FreeBSD and OpenBSD respectively;
# our POSIX version macros make it undefined
add_definitions (-D__BSD_VISIBLE=1 -D_BSD_SOURCE=1)
endif ("${CMAKE_SYSTEM_NAME}" MATCHES "BSD")
# Dependencies
find_package (Curses)
find_package (PkgConfig REQUIRED)

@ -1 +1 @@
Subproject commit 8c6d18757d2d4135963f3dbab6d2d5ec8c8b6af3
Subproject commit 1a305a1c6b1608219334d7512fc09081c9066c9e

View File

@ -1777,9 +1777,9 @@ list_foreach (const char *list, list_foreach_fn callback, void *user_data)
str_vector_init (&items);
bool success = false;
split_str_ignore_empty (list, ',', &items);
cstr_split_ignore_empty (list, ',', &items);
for (size_t i = 0; i < items.len; i++)
if (!callback (user_data, strip_str_in_place (items.vector[i], " ")))
if (!callback (user_data, cstr_strip_in_place (items.vector[i], " ")))
goto fail;
success = true;