ostree/src/libotutil
Colin Walters 303320163f tree-wide: Use helpers for unlinkat()
We have `ot_ensure_unlinked_at()` for the "ignore ENOENT" case, and
`glnx_unlinkat()` otherwise. Port all in-tree callers to one or the other as
appropriate.

Just noticed an unprefixed error in the refs case and decided to do a tree-wide
check.

Closes: #1142
Approved by: jlebon
2017-09-07 16:45:48 +00:00
..
ot-checksum-instream.c core: Support building with OpenSSL for checksums 2017-03-20 18:32:40 +00:00
ot-checksum-instream.h lib: Add a private copy of checksum-instream 2017-03-20 18:32:40 +00:00
ot-checksum-utils.c utils/checksum: Port to new code style 2017-05-09 13:51:12 +00:00
ot-checksum-utils.h libutil: Delete some unused checksum helper API 2017-03-30 13:14:43 +00:00
ot-fs-utils.c tree-wide: Use helpers for unlinkat() 2017-09-07 16:45:48 +00:00
ot-fs-utils.h tree-wide: Remove trailing semicolon from autoptr declarations 2017-08-07 17:42:32 +00:00
ot-gio-utils.c lib: Add a helper to convert struct stat → GFileInfo 2017-06-29 18:17:28 +00:00
ot-gio-utils.h lib: Add a helper to convert struct stat → GFileInfo 2017-06-29 18:17:28 +00:00
ot-gpg-utils.c lib/gpg: Use nicer helper for gpg error messages 2017-09-07 15:55:16 +00:00
ot-gpg-utils.h lib/gpg: Use nicer helper for gpg error messages 2017-09-07 15:55:16 +00:00
ot-keyfile-utils.c Use g_auto(GStrv) instead of gs_strfreev 2015-05-06 22:07:11 -04:00
ot-keyfile-utils.h syntax-check: Remove empty lines at the end of file 2015-02-02 15:07:56 +01:00
ot-opt-utils.c build: Move sources into src/ again 2011-11-14 15:39:38 -05:00
ot-opt-utils.h syntax-check: Remove empty lines at the end of file 2015-02-02 15:07:56 +01:00
ot-tool-util.c tree-wide: Add+run spatch to use glnx_throw() 2017-05-26 19:27:11 +00:00
ot-tool-util.h src: Drop unused argument "value" from ot_parse_boolean 2015-03-06 18:45:38 +01:00
ot-unix-utils.c tree-wide: Add+run spatch to use glnx_throw() 2017-05-26 19:27:11 +00:00
ot-unix-utils.h libutil: Delete some unused error handling APIs 2017-03-30 13:14:43 +00:00
ot-variant-utils.c libutil: Delete unused GVariant I/O functions 2017-03-30 13:14:43 +00:00
ot-variant-utils.h libutil: Delete unused GVariant I/O functions 2017-03-30 13:14:43 +00:00
otutil.c ostadmin: Initial code 2012-05-07 20:43:03 -04:00
otutil.h lib/sysroot: Add journal-msg signal 2017-08-10 14:20:00 +00:00