-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Link to libglib, use it in one place to start
libglib is a hard requirement of other projects on the host, such as libostree. Let's make use of it, since it has a lot of useful functionality for C programs. Specifically, it aborts on OOM by default (because in practice anything that isn't the kernel/pid 1 isn't going to be able to continue), so we can just use `g_strdup()`. (Note that it's required nowadays that `g_malloc() = malloc()`, so it's OK that we're passing this to `free()`.)
- Loading branch information
Showing
3 changed files
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters