diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-12-13 21:59:59 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-12-13 21:59:59 -0800 |
commit | 3bcbe6b069687855fa3cc8f0e39be6c240ee3e3e (patch) | |
tree | 7fcbb9983aea62dbb96d8a9a296e141fc0339abe /bin/bashrc-functions.sh | |
parent | 7bcb8e14d52c51904d42ccb1df49f481df2be9dd (diff) | |
download | portage-3bcbe6b069687855fa3cc8f0e39be6c240ee3e3e.tar.gz portage-3bcbe6b069687855fa3cc8f0e39be6c240ee3e3e.tar.bz2 portage-3bcbe6b069687855fa3cc8f0e39be6c240ee3e3e.zip |
hardlink_lockfile: optimize away most link calls
If fstat shows more than one hardlink, then it's extremely unlikely
that the following link call will result in a lock, so optimize away
the wasteful link call and sleep or raise TryAgain.
Diffstat (limited to 'bin/bashrc-functions.sh')
0 files changed, 0 insertions, 0 deletions