diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-18 15:04:33 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-18 15:04:33 +0000 |
| commit | 83588b7ee9349a941b91294fa83fe6e207883ab6 (patch) | |
| tree | 7d28007f38dcc4efec72f0875d54e5b44df09db6 /src/init.cc | |
| parent | f7319b36f4f48cdf065b9a1472c9a848ca6f95bc (diff) | |
fix uninitialized fd[]
Diffstat (limited to 'src/init.cc')
| -rw-r--r-- | src/init.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cc b/src/init.cc index a38aec4..a28b5bb 100644 --- a/src/init.cc +++ b/src/init.cc @@ -1,6 +1,7 @@ #include "init.h" #include <fcntl.h> +#include "pipe.h" using namespace std; @@ -15,6 +16,7 @@ This is free software; see the source for copying conditions. \ There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. \n\ Published under GNU AFFERO GENERAL PUBLIC LICENSE (AGPL) Version 3." << endl; + self_pipe_init(); signal_init(); tty_fd = open("/dev/tty", O_RDWR); |
