This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author trent
Recipients larry, trent
Date 2012-08-22.11:41:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1345635704.93.0.463075664051.issue15748@psf.upfronthosting.co.za>
In-reply-to
Content
Hmmmmm... tested against other types of file systems and didn't see any issues.  Tested manually against ZFS again:


% ~/src/cpython/python /tmp/test_readlink.py        
temp dir: /mnt/t-zfs/trent/d_6i51

path 1: /mnt/t-zfs/trent/d_6i51/qux, length 1: 27, buf 1: /mnt/t-zfs/trent/d_6i51/bar
path 2: /mnt/t-zfs/trent/d_6i51/qux, length 2: 27, buf 2: /mnt/t-zfs/trent/d_6i51/bar
dst: /mnt/t-zfs/trent/d_6i51/bar

path 1: /mnt/t-zfs/trent/d_6i51/baz, length 1: 24, buf 1: /mnt/t-zfs/trent/d_6i51/
path 2: /mnt/t-zfs/trent/d_6i51/baz, length 2: 24, buf 2: /mnt/t-zfs/trent/d_6i51/
src: /mnt/t-zfs/trent/d_6i51/
[47136 refs]


This time, src got truncated by 3 characters back down to 24.  (Instead of getting rounded up by 6 from 18->24 in the previous example.)

Next step: replicate with a C snippet and ping the FreeBSD developers, I guess.
History
Date User Action Args
2012-08-22 11:41:45trentsetrecipients: + trent, larry
2012-08-22 11:41:44trentsetmessageid: <1345635704.93.0.463075664051.issue15748@psf.upfronthosting.co.za>
2012-08-22 11:41:44trentlinkissue15748 messages
2012-08-22 11:41:43trentcreate