<<< Date Index >>>     <<< Thread Index >>>

[Mutt] #3477: do not restrict variables for program calls to maximum path length



#3477: do not restrict variables for program calls to maximum path length
------------------------------------------------+---------------------------
 Reporter:  jw                                  |       Owner:  mutt-dev
     Type:  enhancement                         |      Status:  new     
 Priority:  minor                               |   Milestone:  1.6     
Component:  mutt                                |     Version:          
 Keywords:  path, editor, maximum, max, length  |  
------------------------------------------------+---------------------------
 Nearly half of the variables of type "path" are not really paths, but
 strings that are handed over to system(3). They are not at all limited by
 the maximum path length (_POSIX_PATH_MAX == 256). It would make sense to
 add a new type (e.g. DT_CMD) for these variables.
 I attached a patch for better understanding.

 A (maybe incomplete) list of this variables is:
 $display_filter, $dotlock_program, $editor, $ispell, $mixmaster, $pager,
 $print_command, $query_command, $sendmail, $shell, $visual

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3477>
Mutt <http://www.mutt.org/>
The Mutt mail user agent