[PATCH] Re: Parent directory's permissions in mini-status
Leonard den Ottolander
leonard at den.ottolander.nl
Sat Apr 2 11:54:25 UTC 2005
Hi Sergey,
On Thu, 2005-03-31 at 13:00, Sergey Ilyevsky wrote:
> It seems that mc shows wrong permission for parent dir in mini-status,
> or in long-file (or user-defined) listing mode.
Just discussed this with Roland Illig who came up with a patch that
seems to work correctly. I further fixed his patch to not need
add_dotdot_to_list() anymore by moving the relevant parts to
set_zero_dir(). I hope my assumption that set_zero_dir() is never called
with an empty list is correct. This way we can safely drop the
list->size check that was in add_dotdot_to_list().
Please verify the correctness of this patch.
Leonard.
--
mount -t life -o ro /dev/dna /genetic/research
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dotdotdir.patch
Type: text/x-patch
Size: 3461 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20050402/6c177ea8/attachment.bin>
More information about the mc-devel
mailing list