Skip to content
Snippets Groups Projects
Commit d1642fb8 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Explicitly initialize c_cc to _POSIX_VDISABLE since we can't know

that we're setting all the values anymore. :(
parent 241475ef
No related branches found
No related tags found
No related merge requests found
Pipeline #5767 passed
......@@ -1582,6 +1582,8 @@ int sbbs_t::external(const char* cmdline, int mode, const char* startup_dir)
* to a value we may have made up.
* TODO: We can set stuff from the user term here...
*/
for (i = 0; i < (sizeof(term.c_cc) / sizeof(term.c_cc[0])); i++)
term.c_cc[i] = _POSIX_VDISABLE;
#ifdef VEOF
term.c_cc[VEOF] = CEOF;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment