So,

after Don Armstrong (IIRC) said on Plänet Debian that this
bug was fixed, and after the layout of debbugs was made to
include ugly 1x1 pixel tracking images and look ugly in Lynx,
let’s test whether this bug persists.

bye,
//mirabilos
-- 
[DJBDNS Zone] TTL 86400 – <Natureshadow> kann man da auch 1d schreiben?
<mirabilos> nö, außerdem kann ein Deutscher oder ein Japaner mit 1d
    ja erstmal nix anfangen, oder könntest du 1日 im zone file lesen?
<Natureshadow> das heißt für mich: ein Regal, das u.U. schiefstehen könnte
Index: src/bin/mksh/misc.c
diff -up src/bin/mksh/misc.c:1.206 src/bin/mksh/misc.c:1.207
--- src/bin/mksh/misc.c:1.206   Sun Feb 24 14:10:04 2013
+++ src/bin/mksh/misc.c Sun Feb 24 14:22:43 2013
@@ -3,7 +3,7 @@
 
 /*-
  * Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
- *              2011, 2012
+ *              2011, 2012, 2013
  *     Thorsten Glaser <t...@mirbsd.org>
  *
  * Provided that these terms and disclaimer and all copyright notices
@@ -30,7 +30,7 @@
 #include <grp.h>
 #endif
 
-__RCSID("$MirOS: src/bin/mksh/misc.c,v 1.206 2013/02/24 14:10:04 tg Exp $");
+__RCSID("$MirOS: src/bin/mksh/misc.c,v 1.207 2013/02/24 14:22:43 tg Exp $");
 
 #define KSH_CHVT_FLAG
 #ifdef MKSH_SMALL
@@ -1213,9 +1213,8 @@ print_columns(struct shf *shf, unsigned 
 
        rows = (n + cols - 1) / cols;
        if (prefcol && cols > rows) {
-               i = rows;
-               rows = cols > n ? n : cols;
-               cols = i;
+               cols = rows;
+               rows = (n + cols - 1) / cols;
        }
 
        max_col = -max_col;

Reply via email to