diff options
| author | Paul Buetow <paul@buetow.org> | 2025-03-24 18:08:34 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-03-24 18:08:34 +0200 |
| commit | a78769805d408308a1d85f9b2fb45a1af3450f13 (patch) | |
| tree | c3ed8278b8cf42aa0f19ce2b6c3f3ab385228398 /internal/eventloop.go | |
| parent | 375d092f4240587c7aae8dab40b2b488633c151c (diff) | |
more debugging
Diffstat (limited to 'internal/eventloop.go')
| -rw-r--r-- | internal/eventloop.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/eventloop.go b/internal/eventloop.go index 90eaa7e..f7bfa9a 100644 --- a/internal/eventloop.go +++ b/internal/eventloop.go @@ -270,6 +270,7 @@ func (e *eventLoop) syscallExit(exitEv event.Event, ch chan<- *event.Pair) { // See fcntl(2) for implementation details switch v.Cmd { case syscall.F_SETFL: + fmt.Println("DEBUG", fdFile) canChange := syscall.O_APPEND | syscall.O_ASYNC | syscall.O_DIRECT | syscall.O_NOATIME | syscall.O_NONBLOCK *fdFile.Flags |= (int32(v.Arg) & int32(canChange)) ev.File = fdFile |
