Comcast / Comcast/Infinite-File-Curtailer

crtl_file_open: ERROR :unable to seek end of output file <Success>

Open
#8 1 comment 0 reactions 1 assignee Claimed by @dwolaver View on GitHub
Dominant language
C
Stars
38
Forks
10
PR merge metrics
No merged PRs in 30d

Description

```
$ echo "test" | curtail -s 4G file.log -v
crtl_cmdline_args: log level
crtl_cmdline_args: output file size <4294967296>
crtl_cmdline_args: output file path
main: Starting process ver 1.0
crtl_signals_register: Registering SIGINT...
crtl_signals_register: Registering SIGTERM...
crtl_signals_register: Registering SIGQUIT...
crtl_file_open: ERROR :unable to seek end of output file
crtl_main_init: ERROR :unable to open output file
crtl_main_term: fd -1
main: return
```

This seems to be caused by an integer overflow.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.