Ticket #3887 (closed defect: fixed)

Opened 4 years ago

Last modified 6 months ago

MC does not exit on Ubuntu PPC64 big endian

Reported by: ticketeer Owned by: andrew_b
Priority: major Milestone: 4.8.28
Component: mc-core Version: master
Keywords: Ubuntu PowerPC PPC exit Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset: committed-master

Description

What version of Midnight Commander is used?

4.8.15

What steps will reproduce the problem?

Install Ubuntu PPC64 big endian on a qemu POWER8 machine or Power Mac G5.
Install the latest MC.
Exit using F10.

What is the expected output?
exit back to shell

What do you see instead?
flashing cursor without shell prompt

Hint: Ubuntu PPC64 big endian POWER8 works

Attachments

0001-fix-endianess-bug-in-handle_console_linux.patch (1.1 KB) - added by svens 6 months ago.
proposed patch

Change History

comment:1 Changed 4 years ago by ticketeer

Ubuntu PP64 little endian works, big endian does not.

comment:2 Changed 4 years ago by andrew_b

  • Status changed from new to closed
  • Resolution set to invalid
  • Milestone Future Releases deleted

You're using the 2-years old MC.
Current version is 4.8.20. Please upgrade your mc and feel free to reopen this ticket if bug is still actual.

comment:3 Changed 6 months ago by svens

  • Status changed from closed to reopened
  • Resolution invalid deleted

comment:4 Changed 6 months ago by svens

I had the same problem on HP-PA (also Big endian). The attached patch fixes this. I also sent it to mc-devel.

Changed 6 months ago by svens

proposed patch

comment:5 Changed 6 months ago by andrew_b

  • Status changed from reopened to accepted
  • Owner set to andrew_b
  • Branch state changed from no branch to on review
  • Milestone set to 4.8.28

Thanks for idea of the patch!

Branch: 3887_endianness
changeset:7510b193243d160e24911f1af4ccf250e05d8264

comment:6 Changed 6 months ago by andrew_b

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

comment:7 Changed 6 months 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:8 Changed 6 months ago by andrew_b

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