Ticket #2014 (new defect) — at Version 2

Opened 15 years ago

Last modified 15 years ago

[PATCH] 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 (last modified by andrew_b) (diff)

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

comment:1 Changed 15 years ago by cosoleto

  • Summary changed from Don't try to make directory NULL named in mkdir_cmd() to [PATCH] Don't try to make directory NULL named in mkdir_cmd()

comment:2 Changed 15 years ago by andrew_b

  • Version changed from version not selected to master
  • Description modified (diff)
Note: See TracTickets for help on using tickets.