Ticket #2325 (new defect)

Opened 6 years ago

Last modified 11 months ago

"Cannot change to" directory\n warning

Reported by: gotar Owned by:
Priority: trivial Milestone: Future Releases
Component: mc-core Version: 4.8.15
Keywords: Cc:
Blocked By: #184 Blocking:
Branch state: no branch Votes for changeset:

Description

  1. create directory with trailing newline,
  2. get into it.

The warning appears, although nothing unexpected happens and works as expected.

Change History

comment:1 in reply to: ↑ description Changed 6 years ago by andrew_b

Replying to gotar:

The warning appears, although nothing unexpected happens and works as expected.

For me. MC hangs up when tries enter to the directory with newline in the its name. This is known problem related to the subshell support. Try you testcase with mc -u.

comment:2 Changed 6 years ago by gotar

I got hangup on different machine with 4.6.2. Indeed, without subshell the warning's gone.

comment:3 Changed 6 years ago by andrew_b

Related to #184.

comment:4 Changed 6 years ago by andrew_b

  • Blocked By 184 added

comment:5 Changed 5 years ago by andrew_b

  • Branch state set to no branch
  • Milestone changed from 4.7 to Future Releases

comment:6 Changed 11 months ago by zaytsev

  • Version changed from 4.7.3 to 4.8.15

Now the subshell is garbled, need to resize the window after exiting from the directory to restore it, but no warnings or hangs are happening. Without subshell (mc -u), everything is fine now.

Note: See TracTickets for help on using tickets.