libglnx porting: Migrate to glnx_stream_fstat()
I ended up deciding to move this one into libglnx, seems like something other libglnx-using software might want to do, even though xdg-app doesn't right now. Closes: #282 Approved by: jlebon
This commit is contained in:
1 parent
5a90781cd8
commit
6724519080
4 files changed
+6
-6
No files matched your search
@@ -613,7 +613,7 @@ ostree_content_file_parse_at (gboolean compressed,
|
||||
cancellable, error))
|
||||
goto out;
|
||||
|
||||
if (!gs_stream_fstat ((GFileDescriptorBased*)file_input, &stbuf, cancellable, error))
|
||||
if (!glnx_stream_fstat ((GFileDescriptorBased*)file_input, &stbuf, error))
|
||||
goto out;
|
||||
|
||||
if (!ostree_content_stream_parse (compressed, file_input, stbuf.st_size, trusted,
|
||||
|
||||
Reference in new issue
Block a user