Bump liberty

This commit is contained in:
Přemysl Eric Janouch 2015-07-01 23:28:30 +02:00
parent 8d62d95918
commit 51bf132c6b
3 changed files with 6 additions and 18 deletions

View File

@ -79,17 +79,6 @@ str_vector_find (const struct str_vector *v, const char *s)
return -1; 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 static int
strncasecmp_ascii (const char *a, const char *b, size_t n) strncasecmp_ascii (const char *a, const char *b, size_t n)
{ {

11
kike.c
View File

@ -31,12 +31,11 @@
static struct config_item g_config_table[] = static struct config_item g_config_table[] =
{ {
// TODO: expand ~[blah] in resolve_config_filename() // TODO: use XDG_RUNTIME_DIR if relative. The last fallback is:
// TODO: expand the path at least? Use XDG_RUNTIME_DIR if relative. //
// The last fallback is: "$XDG_DATA_HOME defines the base directory // "$XDG_DATA_HOME defines the base directory relative to which user
// relative to which user specific data files should be stored. // specific data files should be stored. If $XDG_DATA_HOME is either not
// If $XDG_DATA_HOME is either not set or empty, a default equal to // set or empty, a default equal to $HOME/.local/share should be used."
// $HOME/.local/share should be used."
// //
// Note that when using XDG_RUNTIME_DIR, it either needs to have access // Note that when using XDG_RUNTIME_DIR, it either needs to have access
// time bumped every 6 hours, or have the sticky bit set. // time bumped every 6 hours, or have the sticky bit set.

@ -1 +1 @@
Subproject commit b29f4705834e2405be1335777c9143bea512a7a5 Subproject commit 34569e2b623df164ee965aa508fed274c7c15aaa