- Nov 11, 2019
-
-
Simon McVittie authored
Otherwise, clang diagnoses it as unused. It is - deliberately - only allocated and cleaned up, with no other use. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- May 02, 2019
-
-
Simon McVittie authored
The temporary directory will be deleted on success, but will remain intact on failure. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 13, 2017
-
-
Colin Walters authored
Having our tests forced into a `goto out` style is seriously annoying since we can't write tests like we write production code. Add a macro that checks for the error being NULL. This doesn't fully solve the problem since the test functions are still forced into `void` returns; at some point I may extend GLib to have `g_test_add_err_func()`.
-
- Jun 14, 2017
-
-
Colin Walters authored
I originally tried to get this into GLib: https://bugzilla.gnome.org/show_bug.cgi?id=783751 But that looks like it's going to fail due to MSVC. Let's add it here at least so I can start using it tomorrow and not wait for the MSVC team to catch up. I renamed `glnx-alloca.h` to `glnx-macros.h` as a more natural collective home for things from systemd's `macro.h`. Finally, I used a Coccinelle spatch similar to the one referenced in the above BZ to patch our uses.
-
- Aug 30, 2016
-
-
Colin Walters authored
No longer used by anything; see https://github.com/projectatomic/rpm-ostree/pull/429
-
- Jan 24, 2016
-
-
Colin Walters authored
This is taken from systemd, and is really useful when one has a few known-to-be-small strings one wants to concatenate without resorting to malloc.
-
- Aug 29, 2015
-
-
Colin Walters authored
Where we can put general functions that come in newer glib.
-
- May 05, 2015
-
-
Colin Walters authored
Will be used by OSTree to lock the sysroot against concurrent manipulation. Taken from current systemd git master, tweaked to GLibify.
-
- Mar 04, 2015
-
-
Colin Walters authored
Now that this module is Linux specific, we can more cleanly depend on it here.
-
- Feb 20, 2015
-
-
Colin Walters authored
We don't have this really in GLib, unfortunately. We do want GCancellable, but we also want to operate on raw fds where possible. The "read a file and validate as UTF-8" is a common use case of mine, and this combines that with openat().
-
- Feb 19, 2015
-
-
Colin Walters authored
-
- Feb 17, 2015
-
-
Colin Walters authored
This contains some basic progress bar drawing code for now.
-
- Feb 15, 2015
-
-
Colin Walters authored
-
Colin Walters authored
-
- Feb 14, 2015
-
-
Colin Walters authored
This module is a new successor to libgsystem. It currently contains a backport of the GLib cleanup macros, but soon more Linux-specific code will be added.
-