Lost messages from the old mailing-lists

Pavel Roskin proski at gnu.org
Tue Jul 24 16:41:03 UTC 2001


Hi, Frédéric!

> > http://www.mail-archive.com/mc2-devel%40nuclecu.unam.mx/msg00217.html
>
> It's a bug. I'm adding it to my todo list:
>
> $ finger proski at gnu.org | grep achown
> achown forgets permissions after changing the group

I have fixed this bug.  It's indeed a very serious bug, because MC would
set permissions different from those shown on the screen.

My guess is that this bug appeared because somebody enhanced set_mode()
and named the new function set_mode_by_flags().  However, the old function
was not removed and was used in one obscure place (when the owner or the
group changes).

The rationale is - make sure that the old code is removed.  Have compiler
and linker on your side - they will detect cases when the old functions
are used, but they cannot do it if you don't remove them.

-- 
Regards,
Pavel Roskin





More information about the mc-devel mailing list