Paul Eggert wrote:
> > I would expect these
> > two lines to be
> > 
> >            if (len && ! (readlinkat (fd, short_name, linkbuf, 1) < 0
> >                          && errno == EINVAL))
> 
> Right you are again, and thanks. I prefer "<" to ">" so installed this.

No, this is not what you installed now. The code in lib/unlinkat.c still
has the problem that it looks at errno after readlink() succeeded. It must
not do that: it must look at errno only after readlink() failed.

Bruno




Reply via email to