[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] STAT bits - Ouch!



On Wed, 2010-12-08 at 15:14 +0100, Konrad Kokoszkiewicz wrote:
> > There are at least two programs I know of which expect these to be
> > defined as above, they are python and git, there may well be others we
> > haven't noticed. We patch python, but git is not so easily patched.
> 
> Could you give an example, why a program must stick to fixed values and 
> cannot use the defined masks, like S_IFDIR, and macros, like S_ISDIR()?

Look at the python code, and git is the examples. There are applications
out there that assume the values are consistent, and ignore the macros.

Alan.