Ticket #1870: expanderHang.diff
File expanderHang.diff, 1.2 KB (added by , 16 years ago) |
---|
-
src/apps/expander/ExpanderRules.cpp
45 45 fList.AddItem(new ExpanderRule("application/x-tar", ".tar", "tar -tvf %s", "tar -xf %s")); 46 46 fList.AddItem(new ExpanderRule("application/x-gzip", ".gz", "echo %s | sed 's/.gz$//g'", "gunzip %s")); 47 47 fList.AddItem(new ExpanderRule("application/x-bzip2", ".bz2", "echo %s | sed 's/.bz2$//g'", "bunzip2 %s")); 48 fList.AddItem(new ExpanderRule("application/zip", ".zip", "unzip -l %s", "unzip -o %s")); 49 fList.AddItem(new ExpanderRule("application/x-zip-compressed", ".zip", "unzip -l %s", "unzip -o %s")); 48 //echo n sends an no to the question write error (disk full?). Continue? (y/n/^C) 49 fList.AddItem(new ExpanderRule("application/zip", ".zip", "unzip -l %s", "echo n|unzip -o %s")); 50 fList.AddItem(new ExpanderRule("application/x-zip-compressed", ".zip", "unzip -l %s", "echo n|unzip -o %s")); 50 51 fList.AddItem(new ExpanderRule("application/x-rar", ".rar", "unrar v %s", "unrar x -y %s")); 51 52 52 53 BFile file;