Hello community, here is the log from the commit of package zypper for openSUSE:Factory checked in at Wed Nov 4 11:12:59 CET 2009. -------- --- zypper/zypper.changes 2009-10-30 12:50:09.000000000 +0100 +++ /mounts/work_src_done/STABLE/zypper/zypper.changes 2009-11-02 18:45:15.000000000 +0100 @@ -1,0 +2,6 @@ +Mon Nov 2 18:36:50 CET 2009 - ma@suse.de + +- Prevent clipping lines when output is redirected. (bnc #551744) +- 1.2.9 + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- zypper-1.2.8.tar.bz2 New: ---- zypper-1.2.9.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zypper.spec ++++++ --- /var/tmp/diff_new_pack.yQbjSa/_old 2009-11-04 11:12:32.000000000 +0100 +++ /var/tmp/diff_new_pack.yQbjSa/_new 2009-11-04 11:12:32.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package zypper (Version 1.2.8) +# spec file for package zypper (Version 1.2.9) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -31,7 +31,7 @@ AutoReqProv: on PreReq: permissions Summary: Command line software manager using libzypp -Version: 1.2.8 +Version: 1.2.9 Release: 1 Source: %{name}-%{version}.tar.bz2 Source1: %{name}-rpmlintrc ++++++ zypper-1.2.8.tar.bz2 -> zypper-1.2.9.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zypper-1.2.8/VERSION.cmake new/zypper-1.2.9/VERSION.cmake --- old/zypper-1.2.8/VERSION.cmake 2009-10-30 12:10:41.000000000 +0100 +++ new/zypper-1.2.9/VERSION.cmake 2009-11-02 20:26:34.000000000 +0100 @@ -31,7 +31,7 @@ # SET(VERSION_MAJOR "1") SET(VERSION_MINOR "2") -SET(VERSION_PATCH "8") +SET(VERSION_PATCH "9") -# LAST RELEASED: 1.2.8 +# LAST RELEASED: 1.2.9 #======= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zypper-1.2.8/package/zypper.changes new/zypper-1.2.9/package/zypper.changes --- old/zypper-1.2.8/package/zypper.changes 2009-10-30 12:10:41.000000000 +0100 +++ new/zypper-1.2.9/package/zypper.changes 2009-11-02 20:26:34.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Nov 2 18:36:50 CET 2009 - ma@suse.de + +- Prevent clipping lines when output is redirected. (bnc #551744) +- 1.2.9 + +------------------------------------------------------------------- Fri Oct 30 11:36:57 CET 2009 - ma@suse.de - Fix 'zypper in --from' selecting the wrong packages. (bnc #548392) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zypper-1.2.8/src/utils/misc.cc new/zypper-1.2.9/src/utils/misc.cc --- old/zypper-1.2.8/src/utils/misc.cc 2009-10-30 12:10:41.000000000 +0100 +++ new/zypper-1.2.9/src/utils/misc.cc 2009-11-02 20:26:34.000000000 +0100 @@ -65,7 +65,7 @@ unsigned get_screen_width() { if (!::isatty(STDOUT_FILENO)) - return 80; + return -1; // no clipping int width = 80; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zypper-1.2.8/src/utils/misc.h new/zypper-1.2.9/src/utils/misc.h --- old/zypper-1.2.8/src/utils/misc.h 2009-10-30 12:10:41.000000000 +0100 +++ new/zypper-1.2.9/src/utils/misc.h 2009-11-02 20:26:34.000000000 +0100 @@ -37,6 +37,8 @@ /** * Reads COLUMNS environment variable or gets the screen width from readline, * in that order. Falls back to 80 if all that fails. + * \NOTE In case stdout is not connected to a terminal max. unsigned + * is returned. This should prevent clipping when output is redirected. */ unsigned get_screen_width(); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org