Changeset 5220:785c95c8ff9a

Show
Ignore:
Timestamp:
2007-09-11 09:33:48 (16 months ago)
Author:
Rocco Rutte <pdmef@…>
Branch:
HEAD
Message:

Enlarge error buffer in mutt_enter_command() to not truncate option queries.
The error buffer gets passed down into parse_set() using it to report
option values. SHORT_STRING is too short to even print some defaults
(e.g. $status_format).

Files:
2 modified

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r5218 r5220  
     12007-09-11 18:21 +0200  Rocco Rutte  <pdmef@gmx.net>  (72fdaa70500e) 
     2 
     3        * muttlib.c: Let %*X padding share the same code of %>X padding The 
     4        current implementation of %*X was completely multibyte-unaware and 
     5        had buffer overflow issues with large terminals. Now we use the same 
     6        code as %>X has and optionally only truncate left content to make 
     7        sure the right content can be printed entirely. 
     8 
     92007-09-10 11:14 -0700  Vincent Lefevre  <vincent@vinc17.org>  (664c5ec1a727) 
     10 
     11        * ChangeLog, po/fr.po: Updated French translation. 
     12 
    1132007-09-10 08:54 +0200  Rocco Rutte  <pdmef@gmx.net>  (49d69399cf21) 
    214 
  • commands.c

    r5184 r5220  
    583583{ 
    584584  BUFFER err, token; 
    585   char buffer[LONG_STRING], errbuf[SHORT_STRING]; 
     585  char buffer[LONG_STRING], errbuf[LONG_STRING]; 
    586586  int r; 
    587587