diff options
Diffstat (limited to 'debian/patches/init_drop_setbuf.patch')
-rw-r--r-- | debian/patches/init_drop_setbuf.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/patches/init_drop_setbuf.patch b/debian/patches/init_drop_setbuf.patch new file mode 100644 index 00000000..c4700266 --- /dev/null +++ b/debian/patches/init_drop_setbuf.patch @@ -0,0 +1,12 @@ +diff --git a/init/init.c b/init/init.c +index b7b40bd..e4535cb 100644 +--- a/init/init.c ++++ b/init/init.c +@@ -565,7 +565,6 @@ main (int argc, char **argv, char **envp) + stdin = mach_open_devstream (consdev, "r"); + if (stdout == NULL || stdin == NULL) + crash_mach (); +- setbuf (stdout, NULL); + + err = argz_create (envp, &startup_envz, &startup_envz_len); + assert_perror (err); |