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 loewis
Recipients akineko, georg.brandl, loewis
Date 2007-09-06.16:59:43
SpamBayes Score 0.016950853
Marked as misclassified No
Message-id <1189097983.67.0.980419139201.issue1095@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2007-09-06 16:59:43loewissetspambayes_score: 0.0169509 -> 0.016950853
recipients: + loewis, georg.brandl, akineko
2007-09-06 16:59:43loewissetspambayes_score: 0.0169509 -> 0.0169509
messageid: <1189097983.67.0.980419139201.issue1095@psf.upfronthosting.co.za>
2007-09-06 16:59:43loewislinkissue1095 messages
2007-09-06 16:59:43loewiscreate