mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-08 14:04:27 -04:00
fdio: Make GLnxFileCopyFlags actually flags
I wanted to add a new one, and realized it was wrong. Luckily, I think we were safe until now, since the set of bits for `(0, 1, 2)` is actually distinct. Although, hm, callers specifying `GLNX_FILE_COPY_OVERWRITE` may have not actually been getting that.
This commit is contained in:
1 parent
36396b49ad
commit
7d2f577d76
1 file changed
+3
-3
+3
-3
@@ -130,9 +130,9 @@ int
|
||||
glnx_loop_write (int fd, const void *buf, size_t nbytes);
|
||||
|
||||
typedef enum {
|
||||
GLNX_FILE_COPY_OVERWRITE,
|
||||
GLNX_FILE_COPY_NOXATTRS,
|
||||
GLNX_FILE_COPY_DATASYNC
|
||||
GLNX_FILE_COPY_OVERWRITE = (1 << 0),
|
||||
GLNX_FILE_COPY_NOXATTRS = (1 << 1),
|
||||
GLNX_FILE_COPY_DATASYNC = (1 << 2)
|
||||
} GLnxFileCopyFlags;
|
||||
|
||||
gboolean
|
||||
|
||||
Reference in new issue
Block a user