Re: [Midnight Commander] #176: (mandriva) add lzma support



#176: (mandriva) add lzma support
----------------------+-----------------------------------------------------
  Reporter:  metux    |       Owner:  metux            
      Type:  defect   |      Status:  accepted         
  Priority:  major    |   Milestone:  4.7              
 Component:  mc-core  |     Version:  4.6.1            
Resolution:           |    Keywords:  review vote-metux
  Blocking:           |   Blockedby:                   
----------------------+-----------------------------------------------------

Comment(by slyfox):

 > diff --git a/edit/edit.c b/edit/edit.c
 > index 36284df..153b549 100644
 > --- a/edit/edit.c
 > +++ b/edit/edit.c
 > @@ -185,6 +185,7 @@ edit_load_file_fast (WEdit *edit, const char
 *filename)
 >  static const struct edit_filters {
 >      const char *read, *write, *extension;
 >  } all_filters[] = {

 > +    { "lzma -cd %s 2>&1",   "lzma > %s",   ".bz2" },
 -------------------------------------------^^^^^^^ -- why .bz2? is it
 intendede?

 >      { "bzip2 -cd %s 2>&1",  "bzip2 > %s",  ".bz2" },
 >      { "gzip -cd %s 2>&1",   "gzip > %s",   ".gz"  },
 >      { "gzip -cd %s 2>&1",   "gzip > %s",   ".Z"   }

-- 
Ticket URL: <www.midnight-commander.org/ticket/176#comment:4>
Midnight Commander <www.midnight-commander.org>
Midnight Development Center


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]