Skip to content

Commit

Permalink
statx: removing & 0o7777 from stx_mode as it was flawed.
Browse files Browse the repository at this point in the history
  • Loading branch information
YoSTEALTH committed Apr 23, 2024
1 parent 5a9dcb9 commit 2008e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liburing/statx.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ cdef class statx:

@property
def stx_mode(self):
return self.ptr.stx_mode & 0o7777
return self.ptr.stx_mode

@property
def stx_ino(self):
Expand Down

0 comments on commit 2008e4a

Please sign in to comment.