From 732e13ac50aa220d7b26254583f114e19f4a4bc7 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Tue, 8 Apr 2014 12:39:13 +0200 Subject: add init_drop_setbuf.patch --- debian/patches/init_drop_setbuf.patch | 12 ++++++++++++ debian/patches/series | 1 + 2 files changed, 13 insertions(+) create mode 100644 debian/patches/init_drop_setbuf.patch (limited to 'debian') 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 -- cgit v1.2.3