Bump liberty and termo

This commit is contained in:
Přemysl Eric Janouch 2020-10-27 11:53:03 +01:00
parent 0304e4fcee
commit 38694ea520
Signed by: p
GPG Key ID: A0420B94F92B9493
4 changed files with 6 additions and 7 deletions

View File

@ -3,7 +3,7 @@ cmake_minimum_required (VERSION 2.8.5)
# Moar warnings
if ("${CMAKE_C_COMPILER_ID}" MATCHES "GNU" OR CMAKE_COMPILER_IS_GNUCC)
set (wdisabled "-Wno-unused-function -Wno-implicit-fallthrough")
set (wdisabled "-Wno-unused-function")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wall -Wextra ${wdisabled}")
endif ()

7
hex.c
View File

@ -339,9 +339,9 @@ app_free_context (void)
free (g_ctx.marks_by_offset);
free (g_ctx.offset_entries);
free (g_ctx.message);
cstr_set (&g_ctx.message, NULL);
free (g_ctx.filename);
cstr_set (&g_ctx.filename, NULL);
free (g_ctx.data);
if (g_ctx.tk)
@ -1792,8 +1792,7 @@ app_log_handler (void *user_data, const char *quote, const char *fmt,
fprintf (stderr, "%s\n", message.str);
else
{
free (g_ctx.message);
g_ctx.message = xstrdup (message.str);
cstr_set (&g_ctx.message, xstrdup (message.str));
g_ctx.message_attr = (intptr_t) user_data;
app_invalidate ();
}

@ -1 +1 @@
Subproject commit 1a76b2032e6d18d9f95d9d0bb98edc26023c8618
Subproject commit 8822d06091942454324936329bfade6a47444d70

2
termo

@ -1 +1 @@
Subproject commit 8c4e867760eb20e3cdf997a301c8f8672c01e380
Subproject commit 065cd3b3e1781ebfddbb272b568918c60c8962c8