* utils.c (set_screen_size): Use INT_MAX for default columns.
authorDaniel Jacobowitz <drow@false.org>
Wed, 13 Jun 2007 17:08:34 +0000 (17:08 +0000)
committerDaniel Jacobowitz <drow@false.org>
Wed, 13 Jun 2007 17:08:34 +0000 (17:08 +0000)
gdb/ChangeLog
gdb/utils.c

index 4f89370a818e2cade157ffff5ec1138e6a840168..f2a365a2d289aefcf624d843570e9d4215099b19 100644 (file)
@@ -1,3 +1,7 @@
+2007-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * utils.c (set_screen_size): Use INT_MAX for default columns.
+
 2007-06-13  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * remote.c (remote_protocol_features): Add qXfer:spu:read and
index e1fb9ed48c416d9f4f6a5a70b72252cba6f7416d..6f3719adc6633e1b59302790cf8b02aa43a8a1cb 100644 (file)
@@ -1633,7 +1633,7 @@ set_screen_size (void)
     rows = INT_MAX;
 
   if (cols <= 0)
-    rl_get_screen_size (NULL, &cols);
+    cols = INT_MAX;
 
   /* Update Readline's idea of the terminal size.  */
   rl_set_screen_size (rows, cols);
This page took 0.03108 seconds and 4 git commands to generate.