aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common.c11
-rw-r--r--kike.c11
m---------liberty0
3 files changed, 5 insertions, 17 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
-Subproject b29f4705834e2405be1335777c9143bea512a7a
+Subproject 34569e2b623df164ee965aa508fed274c7c15aa