lib/util: Delete some leftover pre-libglnx directory opening functions

These were migrated into libglnx; port the few callers to use that.

Closes: #808
Approved by: jlebon
This commit is contained in:
Colin Walters authored and Atomic Bot committed 2017-04-25 13:30:07 +00:00
1 parent 55603a0c52
commit f2e92d81f9
4 files changed
+3 -36

No files matched your search

+1 -1
View File
@@ -2465,7 +2465,7 @@ list_loose_objects (OstreeRepo *self,
buf[0] = hexchars[c >> 4];
buf[1] = hexchars[c & 0xF];
buf[2] = '\0';
dfd = ot_opendirat (self->objects_dir_fd, buf, FALSE);
dfd = glnx_opendirat_with_errno (self->objects_dir_fd, buf, FALSE);
if (dfd == -1)
{
if (errno == ENOENT)