delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/02/20/15:19:39

Message-ID: <3E552C0E.518C657A@yahoo.com>
Date: Thu, 20 Feb 2003 14:27:10 -0500
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: FSEXT hooks for chmod, chown [PATCH]
References: <E18lpSc-0000aK-00 AT phekda DOT freeserve DOT co DOT uk> <200302201830 DOT h1KIUuw13116 AT envy DOT delorie DOT com>
Reply-To: djgpp-workers AT delorie DOT com

DJ Delorie wrote:
> 
> >    __FSEXT_llseek,
> >    __FSEXT_readlink,
> >    __FSEXT_symlink,
> > +  __FSEXT_chmod,
> > +  __FSEXT_chown,
> >    __FSEXT_fchown
> >  } __FSEXT_Fnumber;
> 
> Why aren't new entries added at the bottom?  This way, the value
> of __FSEXT_fchown changes.

Probably to avoid the hassle of modifying an extra line.  Maybe it
should define "__FSEXT_invalid" as the last to remove the
temptation in future :-)  I assume this is an enumeration.

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!


- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019