Ugh, should never have posted faked-link.diff without trying it, it's completely busted.
Respinning and fixing. faked.diff is well tested. ----- "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]