From 51bf132c6ba429be8778c485076e017d98e2876c Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Wed, 1 Jul 2015 23:28:30 +0200 Subject: Bump liberty --- common.c | 11 ----------- kike.c | 11 +++++------ liberty | 2 +- 3 files changed, 6 insertions(+), 18 deletions(-) diff --git a/common.c b/common.c index 3d40816..cc6221e 100644 --- a/common.c +++ b/common.c @@ -79,17 +79,6 @@ str_vector_find (const struct str_vector *v, const char *s) return -1; } -static char * -str_vector_steal (struct str_vector *self, size_t i) -{ - // TODO: str_vector_remove() is then just free(str_vector_steal()) - hard_assert (i < self->len); - char *tmp = self->vector[i]; - memmove (self->vector + i, self->vector + i + 1, - (self->len-- - i) * sizeof *self->vector); - return tmp; -} - static int strncasecmp_ascii (const char *a, const char *b, size_t n) { diff --git a/kike.c b/kike.c index cfa535b..b5bda0a 100644 --- a/kike.c +++ b/kike.c @@ -31,12 +31,11 @@ static struct config_item g_config_table[] = { - // TODO: expand ~[blah] in resolve_config_filename() - // TODO: expand the path at least? Use XDG_RUNTIME_DIR if relative. - // The last fallback is: "$XDG_DATA_HOME defines the base directory - // relative to which user specific data files should be stored. - // If $XDG_DATA_HOME is either not set or empty, a default equal to - // $HOME/.local/share should be used." + // TODO: use XDG_RUNTIME_DIR if relative. The last fallback is: + // + // "$XDG_DATA_HOME defines the base directory relative to which user + // specific data files should be stored. If $XDG_DATA_HOME is either not + // set or empty, a default equal to $HOME/.local/share should be used." // // Note that when using XDG_RUNTIME_DIR, it either needs to have access // time bumped every 6 hours, or have the sticky bit set. diff --git a/liberty b/liberty index b29f470..34569e2 160000 --- a/liberty +++ b/liberty @@ -1 +1 @@ -Subproject commit b29f4705834e2405be1335777c9143bea512a7a5 +Subproject commit 34569e2b623df164ee965aa508fed274c7c15aaa -- cgit v1.2.3-70-g09d2