[email protected]
[Top] [All Lists]

[PATCH] Re: Parent directory's permissions in mini-status

Subject: [PATCH] Re: Parent directory's permissions in mini-status
From: Leonard den Ottolander
Date: Sat, 02 Apr 2005 13:54:25 +0200
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

Attachment: dotdotdir.patch
Description: Text Data

_______________________________________________
Mc mailing list
http://mail.gnome.org/mailman/listinfo/mc
<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] Re: Parent directory's permissions in mini-status, Leonard den Ottolander <=