diff options
| -rw-r--r-- | debian/patches/init_drop_setbuf.patch | 12 | ||||
| -rw-r--r-- | debian/patches/series | 1 |
2 files changed, 13 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); diff --git a/debian/patches/series b/debian/patches/series index 0e142950..403c8cc2 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -44,3 +44,4 @@ mach-defpager-protected-payload.patch #ext2fs-skip-unallocated-blocks.patch notify-fix-receiver-lookups.patch +init_drop_setbuf.patch |
