Bump liberty
This commit is contained in:
parent
8d62d95918
commit
51bf132c6b
11
common.c
11
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)
|
||||
{
|
||||
|
11
kike.c
11
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.
|
||||
|
2
liberty
2
liberty
@ -1 +1 @@
|
||||
Subproject commit b29f4705834e2405be1335777c9143bea512a7a5
|
||||
Subproject commit 34569e2b623df164ee965aa508fed274c7c15aaa
|
Loading…
Reference in New Issue
Block a user