mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-12 05:34:01 -04:00
slave: remove initial debug code
This commit is contained in:
parent
ed867a78bb
commit
34fb86724f
1 changed files with 0 additions and 16 deletions
16
slave.c
16
slave.c
|
|
@ -54,22 +54,6 @@ slave_spawn(int ptmx)
|
||||||
|
|
||||||
execl("/usr/bin/zsh", "/usr/bin/zsh", NULL);
|
execl("/usr/bin/zsh", "/usr/bin/zsh", NULL);
|
||||||
|
|
||||||
#if 0
|
|
||||||
|
|
||||||
/* TODO: exec() */
|
|
||||||
sleep(1);
|
|
||||||
const char *s = "hello\tbla\nfoobar\thaa";
|
|
||||||
write(STDOUT_FILENO, s, strlen(s));
|
|
||||||
|
|
||||||
sleep(1);
|
|
||||||
write(STDOUT_FILENO, "yeehaa", 6);
|
|
||||||
|
|
||||||
sleep(1);
|
|
||||||
write(STDOUT_FILENO, "\råäö", strlen("\råäö"));
|
|
||||||
|
|
||||||
sleep(1000);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
err:
|
err:
|
||||||
if (pts != -1)
|
if (pts != -1)
|
||||||
close(pts);
|
close(pts);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue