diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-04-08 12:39:13 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-04-08 12:39:13 +0200 |
commit | 732e13ac50aa220d7b26254583f114e19f4a4bc7 (patch) | |
tree | 4ebcf655c91b76b8803fbc5ae6d496a4ba5e2710 | |
parent | b3b250f147114c7ae6821b5e781380d162f18a72 (diff) |
add init_drop_setbuf.patch
-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 |