Ticket #4120 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

tcsh "The Commander can't change to the directory" error

Reported by: congest Owned by: andrew_b
Priority: major Milestone: 4.8.26
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset: committed-master

Description

How to reproduce:

Use tsch as your shell.
ctrl-o
ctrl-c
ctrl-o

mc gives the error:

The Commander can't change to the directory that the subshell claims you are in. Perhaps you have deleted your working directory, or given yourself extra permissions with the "su" command?

I'm pretty sure this is caused by a bug in tsch. I attached a patch with a really simple workaround that makes the problem go away.

Attachments

tcsh_fix.patch (620 bytes) - added by congest 4 years ago.

Change History

Changed 4 years ago by congest

comment:1 Changed 4 years ago by congest

  • Summary changed from tsch "The Commander can't change to the directory" error to tcsh "The Commander can't change to the directory" error

comment:2 Changed 4 years ago by andrew_b

Thanks!
It would be great if you could create patch using git format-patch

Version 0, edited 4 years ago by andrew_b (next)

comment:3 Changed 4 years ago by andrew_b

  • Owner set to andrew_b
  • Status changed from new to accepted
  • Milestone changed from Future Releases to 4.8.26

comment:4 Changed 4 years ago by andrew_b

  • Branch state changed from no branch to on review

Branch: 4120_tcsh_cant_change_directory
changeset:631483ec52386b9488384a36fdb4340cae911d0f

comment:5 Changed 4 years ago by andrew_b

  • Votes for changeset set to andrew_b
  • Branch state changed from on review to approved

comment:6 Changed 4 years ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from andrew_b to committed-master
  • Resolution set to fixed
  • Branch state changed from approved to merged

comment:7 Changed 4 years ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.