Ticket #1757 (closed enhancement: fixed)

Opened 13 years ago

Last modified 12 years ago

UP--DIR without Modify time

Reported by: gotar Owned by: andrew_b
Priority: trivial Milestone: 4.7.0
Component: mc-core Version: 4.7.0-pre4
Keywords: Cc:
Blocked By: Blocking:
Branch state: Votes for changeset: committed-master


I've noticed a long time ago, that .. directory has all the values for Permission, Nl, Owner, Group columns shown (and UP--DIR in Size), but no mtime, it's just empty.

Change History

comment:1 Changed 13 years ago by gotar

Well, checking again it's even worse - .. displays always drwxr-xr-x root:root and 0 Inodes...
The same applies to Info (C-x i):

File: None

Location: 0h:0h
Mode: drwxr-xr-x (0755)
Links: 0
Owner: root/root
Size: 0 (0 blocks)
Status: Jan 1 1970
Modified: Jan 1 1970
Accessed: Jan 1 1970

mc should try to get those informations and display sth like (unknown) when it's not possible.

comment:2 Changed 13 years ago by andrew_b

Actually. ".." in panel is not directory, and it's info is not info of actual ".." directory. That was in mc all the time (see add_dotdot_to_list() and set_zero_dir() functions). But I agree, this should be fixed.

comment:3 Changed 13 years ago by andrew_b

  • Owner set to andrew_b
  • Status changed from new to accepted
  • severity changed from no branch to on review
  • Milestone changed from 4.7 to 4.7.0

Created 1757_dotdot_dir branch. Parent branch is master.
changeset:548c7bcc56620e2ce2882da378913dcceb405626 -- small refactoring
changeset:d5ac867a947a941d127f32973a492a88b9fe5623 -- set correct stat info for ".." dir
changeset:90a6405b2a652570fe59953f9fe96509d9fd49ea -- show correct info in Info panel

comment:4 Changed 13 years ago by slavazanko

  • Votes for changeset set to slavazanko

comment:5 Changed 13 years ago by iNode

  • Votes for changeset changed from slavazanko to slavazanko iNode
  • severity changed from on review to approved

comment:6 Changed 13 years ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from slavazanko iNode to commited-master
  • Resolution set to fixed
  • severity changed from approved to merged

Merged to master.

git log --pretty=oneline abd3553..cae3e29

comment:7 Changed 13 years ago by andrew_b

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