void-packages/srcpkgs/udisks2/patches/fix-stdio.patch
2015-05-10 10:17:06 +02:00

13 lines
240 B
Diff

--- tools/udisksctl.c
+++ tools/udisksctl.c
@@ -229,8 +229,8 @@
}
else
{
- fclose (stdout);
- stdout = _color_pager_out;
+ fflush (stdout);
+ dup2 (fileno(_color_pager_out), fileno(stdout));
}
out: