Ticket #2014: don't try to make directory NULL named in mkdir_cmd().
commit36771dcfa22b4954cba097946f66db0afdcf347e
authorFrancesco Cosoleto <cosoleto@gmail.com>
Tue, 9 Feb 2010 02:49:20 +0000 (9 03:49 +0100)
committerAndrew Borodin <aborodin@vmail.ru>
Wed, 17 Mar 2010 13:39:02 +0000 (17 13:39 +0000)
tree37ab7016b36563ac8bc364067e596fcacf2cce2c
parentf12bdf195143a3e2624425b1facb312f0b1c7e10
Ticket #2014: don't try to make directory NULL named in mkdir_cmd().

As input_expand_dialog() may return a pointer to an empty string,
the function was trying to create a directory so named and thus
print a false "File exists" error message.

Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/cmd.c