On Mon, Jan 05, 2004 at 08:38:24PM -0500, Christopher Faylor wrote:
>On Tue, Jan 06, 2004 at 09:30:26AM +0800, peter garrone wrote:
>>lstat returns an incorrect symbolic link size, with size 11 bytes too large.
>
>lstat reports the actual size of the symlink file.  Unless you can point
>to a standard which indicates this is incorrect, we'll be sticking with
>this long standing behavior.

Actually, nevermind.  SUSv3 says this:

For symbolic links, the st_mode member shall contain meaningful
information when used with the file type macros, and the st_size member
shall contain the length of the pathname contained in the symbolic link.

So, this is a PTC situation.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to