Ticket #3646: Filtered View doesn't work.
commit44859027b446b150a6c9dc834fb8fd627a1c5b5f
authorAndrew Borodin <aborodin@vmail.ru>
Tue, 17 May 2016 07:11:01 +0000 (17 10:11 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Sat, 28 May 2016 05:16:31 +0000 (28 08:16 +0300)
tree9694a2c49659362ac9b5de3983a7dfc0dc648745
parent35ad1ab0b27530779c3dfd7d6ec0443527283dce
Ticket #3646: Filtered View doesn't work.

The bug:
1. Go to the source directory for version 4.8.17.
2. Enter the command "ls -l misc/mc*". The output will show at least 7 files.
3. Start mc.
4. Press Meta-! to open the "Filtered View" dialogue box.
5. Enter the same command: "ls -l misc/mc*".
Result:
MC displays the following error:
"ls: cannot access misc/mc*: No such file or directory".

Fix:
(mc_popen): use popen(3) way: pass command to /bin/sh using the -c flag.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
lib/utilunix.c