[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnulib] xreadlink.c patch
From: |
Paul Eggert |
Subject: |
Re: [Bug-gnulib] xreadlink.c patch |
Date: |
Fri, 05 Nov 2004 16:48:03 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> on an older version of AIX the following behaviour was seen on NFS
> mounted directories: after lstat(), the st_size field did not
> contain the exact link size: the readlink() call returns a different
> value. I don't remember whether the return value was larger or
> smaller than st_size. I'll try to reproduce that...
xreadlink doesn't care about that bug: it works regardless of the size
that lstat returns. So working around this problem is low priority,
from an xreadlink point of view anyway.
There was quite a menagerie of lstat issues like that on older
systems. I recall older versions of lstat setting st_size to 0 for
symlinks, for example. I'm not sure it's worth your time discovering
and working around all those ancient bugs....
Re: [Bug-gnulib] xreadlink.c patch, Bruno Haible, 2004/11/05
- Re: [Bug-gnulib] xreadlink.c patch,
Paul Eggert <=