- Sep 26, 2017
-
-
Philip Withnall authored
If the directory for @dfd is deleted after being opened, glnx_shutil_mkdir_p_at() would fail with an assertion failure. Fix that, and make it return an ENOENT error instead. Add a unit test. Signed-off-by:
Philip Withnall <withnall@endlessm.com> Reviewed-by:
Colin Walters <walters@verbum.org> Reviewed-by:
Jonathan Lebon <jlebon@redhat.com> https://github.com/ostreedev/ostree/issues/1215
-
- Sep 17, 2017
-
-
Colin Walters authored
The libostree Travis builds use make dist.
-
- 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.
-
- Mar 22, 2017
-
-
Colin Walters authored
Following up to the previous commit, also shorten our use of `g_set_error (..., G_IO_ERROR_FAILED, ...)`. There's a lot of this in libostree at least. See also https://bugzilla.gnome.org/show_bug.cgi?id=774061
-
- Mar 02, 2017
-
-
Colin Walters authored
I want the `RENAME_EXCHANGE` version for rpm-ostree, to atomically swap `/usr/share/rpm` (a directory) with a new verison. While we're here we might as well expose `RENAME_NOREPLACE` in case something else wants it. These both have fallbacks to the non-atomic version. Closes: https://github.com/GNOME/libglnx/pull/36
-
- Jan 29, 2017
-
-
Colin Walters authored
This is actually the first test case in libglnx
; hopefully the consumers are prepared for us injecting into `TESTS`.
-
- Aug 31, 2016
-
-
Dan Nicholson authored
This is needed by ostree when creating a tarball with make dist.
-
- Aug 30, 2016
-
-
Colin Walters authored
No longer used by anything; see https://github.com/projectatomic/rpm-ostree/pull/429
-
- Aug 05, 2016
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@debian.org>
-
- 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.
-
- Apr 08, 2015
-
-
Colin Walters authored
See previous commits to drop libattr dependency.
-
- Mar 04, 2015
-
-
Colin Walters authored
Now that this module is Linux specific, we can more cleanly depend on it here.
-
- Mar 02, 2015
-
-
Giuseppe Scrivano authored
Signed-off-by:
Giuseppe Scrivano <gscrivan@redhat.com>
-
- 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 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.
-