Err, thanks.
I got distracted and didn't finish and screwed up the original message as well.
faked.diff was thoroughly tested. When I posted I noticed that it didn't cover
all of the cases and added faked-link.diff, and meant to mention that I hadn't
tried it yet (I am testing it now, with the {).
----- "Clint Adams" <[EMAIL PROTECTED]> wrote:
> On Fri, Oct 03, 2008 at 06:22:44PM -0400, Joe Malicki wrote:
> > + if ((buf->st.mode&S_IFMT) != (st->mode&S_IFMT) &&
> > + ((buf->st.mode&S_IFMT) != S_IFREG ||
> (st->mode&(S_ISBLK|S_ISCHR))))
>
> Missing { here?
>
> > +
> > + fprintf(stderr,"FAKEROOT: chmod mode=%lo incompatible with "
> > + "existing mode=%lo\n", buf->st.mode, st->mode);
> > + st->mode = buf->st.mode;
> > + }
> > + else{
> > + st->mode = (buf->st.mode&~S_IFMT) | (st->mode&S_IFMT);
> > + }
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]