mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-06 00:58:44 +03:00
Fix "make syntax-check" failures.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
9e3a018d85
commit
494d3535e4
@ -29,7 +29,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cd $olddir
|
cd $olddir
|
||||||
if ! test -f libglnx/README.md -o bsdiff/README.md; then
|
if ! test -f libglnx/README.md || ! test -f bsdiff/README.md; then
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
fi
|
fi
|
||||||
# Workaround automake bug with subdir-objects and computed paths
|
# Workaround automake bug with subdir-objects and computed paths
|
||||||
|
@ -1153,7 +1153,7 @@ rename_pending_loose_objects (OstreeRepo *self,
|
|||||||
loose_objpath[1] = dent->d_name[1];
|
loose_objpath[1] = dent->d_name[1];
|
||||||
loose_objpath[2] = '/';
|
loose_objpath[2] = '/';
|
||||||
|
|
||||||
strncpy (loose_objpath + 3, child_dent->d_name, sizeof (loose_objpath)-3);
|
g_strlcpy (loose_objpath + 3, child_dent->d_name, sizeof (loose_objpath)-3);
|
||||||
|
|
||||||
if (!_ostree_repo_ensure_loose_objdir_at (self->objects_dir_fd, loose_objpath,
|
if (!_ostree_repo_ensure_loose_objdir_at (self->objects_dir_fd, loose_objpath,
|
||||||
cancellable, error))
|
cancellable, error))
|
||||||
|
@ -302,4 +302,3 @@ _ostree_delta_compute_similar_objects (OstreeRepo *repo,
|
|||||||
out:
|
out:
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -91,4 +91,3 @@ out:
|
|||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user