Martin v. Löwis added the comment:

The -f option to ln was not portable, traditionally. So the portable way
to create a symlink if the target might exist is to remove the old
symlink first. I've verified that 'ln -sf' indeed works as reported on
Solaris 9. On Solaris 10, it seems Sun has finally "given in" and
changed the implementation (but not the documentation).

I'm not sure why we bother checking whether the old file exists before
removing it, instead of just doing 'rm -f'; that has been there since
r6352 with no explanation given.

----------
assignee: loewis -> 

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1095>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to