Ticket #2014 (new defect) — at Initial Version

Opened 15 years ago

Last modified 15 years ago

Don't try to make directory NULL named in mkdir_cmd()

Reported by: cosoleto Owned by:
Priority: minor Milestone: 4.7.2
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset:

Description

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.

This is a regression due to commit 350c958f5efe2505aec590d5a964cafa4aab1c24 dated 4 Feb 2006, previously fixed in commit 382930fbf6e1d0ad40cc1b0f5d93db5c757531ca dated 16 Dec 2002.

Attached patch fix the problem.

Change History

Changed 15 years ago by cosoleto

Note: See TracTickets for help on using tickets.