Re: [PATCH] Add an option not to use link(src, dest) && unlink(src) when that is unreliable
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Apr 23, 2009, 19:39 UTC
- Message-ID
- <81b0412b0904231239qf317c02xbfa548d0011a0302@mail.gmail.com>
- In-Reply-To
- <alpine.DEB.1.00.0904231252080.10279@pacific.mpi-cbg.de>
2009/4/23 Johannes Schindelin <Johannes.Schindelin@gmx.de>:
> - if (link(tmpfile, filename)) > + if (unreliable_hardlinks) > + ret = ~EEXIST;
It is more like "broken_hardlinks" or even "no_hardlinks"!