(do_link): If ln is invoked with --interactive (-i),
authorJim Meyering <jim@meyering.net>
Mon, 22 Aug 2005 10:31:55 +0000 (10:31 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 22 Aug 2005 10:31:55 +0000 (10:31 +0000)
commitb5e741091df258fe2487853b047891e11383896d
tree654128523f6e6afe565d2115ff1c7db77c15117e
parenta0037fae22000ebce1e0617960a6b013b2ef02e7
(do_link): If ln is invoked with --interactive (-i),
encounters an existing destination file, and gets an affirmative
response, then first try to unlink the destination file rather
than simply failing.  Suggestion from Karl Berry.
src/ln.c