Index: fhandler_disk_file.cc =================================================================== RCS file: /cvs/src/src/winsup/cygwin/fhandler_disk_file.cc,v retrieving revision 1.75 diff -u -p -r1.75 fhandler_disk_file.cc --- fhandler_disk_file.cc 15 Dec 2003 04:16:42 -0000 1.75 +++ fhandler_disk_file.cc 7 Jan 2004 17:23:10 -0000 @@ -291,6 +291,8 @@ fhandler_base::fstat_helper (struct __st { /* symlinks are everything for everyone! */ buf->st_mode = S_IFLNK | S_IRWXU | S_IRWXG | S_IRWXO; + /* SUSv3: their size is the length of the target pathname */ + buf->st_size = strlen (pc.get_win32 ()); get_file_attribute (pc.has_acls (), get_win32_name (), NULL, &buf->st_uid, &buf->st_gid); goto done;