Bug#336560: vim loops forever in readlink on startup when
opening symlinked file with two parent directories of the same name
Stefano Zacchiroli
zack at debian.org
Tue Nov 1 16:08:57 UTC 2005
On Mon, Oct 31, 2005 at 09:29:23PM -0500, James Vega wrote:
> Not to step on any toes, but I had a little time and looked into this.
No problem, is alway a pleasure when someone does the work you have to
do :-)
> The attached patch fixes the bug. My only concern is what we should do
> if EINVAL isn't what errno is set to[1]. Is that possible in the way
> the code is called?
I would say that an "assertion failed" like exit would be appropriate in
any of the cases errno != EINVAL. Nonetheless one of them is the one
that should happen in the case described by the bugreport, isn't it?
Which one does actually happen in that case?
Cheers.
--
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20051101/7141ef46/attachment.pgp
More information about the pkg-vim-maintainers
mailing list