diff options
author | Guillem Jover <guillem@debian.org> | 2013-10-12 09:40:36 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2013-10-14 05:54:21 +0200 |
commit | 3b786cf079b577431533c1f0936366246a1ae075 (patch) | |
tree | bf85b1358b418bdabf2bad6ed836af628e0f94dc /dpkg-split | |
parent | a57bcb1d886cda873c2cc81e73e7ac729e34142f (diff) | |
download | dpkg-3b786cf079b577431533c1f0936366246a1ae075.tar.gz |
libdpkg: Refactor report output buffering setup into a new function
Diffstat (limited to 'dpkg-split')
-rw-r--r-- | dpkg-split/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dpkg-split/main.c b/dpkg-split/main.c index d51072c9c..b599f760b 100644 --- a/dpkg-split/main.c +++ b/dpkg-split/main.c @@ -161,6 +161,7 @@ int main(int argc, const char *const *argv) { textdomain(PACKAGE); dpkg_set_progname(SPLITTER); + dpkg_set_report_buffer(stdout); standard_startup(); myopt(&argv, cmdinfos, printforhelp); @@ -170,8 +171,6 @@ int main(int argc, const char *const *argv) { if (!cipaction) badusage(_("need an action option")); - setvbuf(stdout,NULL,_IONBF,0); - ret = cipaction->action(argv); m_output(stderr, _("<standard error>")); |