[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: (patch) File permissions problem on FreeBSD
From:       David Faure <david () mandrakesoft ! com>
Date:       2002-01-27 12:13:12
[Download RAW message or body]

On Sunday 27 January 2002 12:23, Dominic Marks wrote:
> > I don't understand the patch though. Seems to be a datatype problem only ?
> > What's mode_t on FreeBSD ?
> 
> From /usr/src/sys/sys/types.h:
> 
> typedef u_int16_t   mode_t;     /* permissions */

Ah. I see. There's been quite a mixture of mode_t and int in the KDE code,
and (mode_t)-1 isn't the same thing as (int)-1 :(

Thanks for the patch, applied.
Actually the same problem happens with CopyInfo.permissions.
Fixing.

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david, http://www.konqueror.org
KDE 3.0: Konquering the Desktops

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic