summaryrefslogtreecommitdiffstats
path: root/pym/portage_locks.py
Commit message (Collapse)AuthorAgeFilesLines
* Bug #212882Zac Medico2008-03-271-3/+19
| | | | | | | | | | | | - For compatibility with ENOENT exceptions raised from fstat calls with CIFS, wrap fstat calls with an appropriate exception handler. (trunk r9474) - Fix lockfile() to handle errno.EACCES raised from the fcntl call since the spec says that it's equivalent to EAGAIN and it appears that CIFS returns EACCES in this case. (trunk r9458) svn path=/main/branches/2.1.2/; revision=9518
* revert previous commit since it had portage_locks stuff mixed inZac Medico2008-03-271-19/+3
| | | | svn path=/main/branches/2.1.2/; revision=9516
* Make --noreplace take precedence over --newuse, as suggested by wolf31o2.Zac Medico2008-03-271-3/+19
| | | | | | (trunk r9512:9514) svn path=/main/branches/2.1.2/; revision=9515
* Remove more unnecessary list generation. (trunk r6913)Zac Medico2007-06-221-2/+2
| | | | svn path=/main/branches/2.1.2/; revision=6932
* For bug #170178, remove all hardcoded references to '/usr/lib/portage'. ↵Zac Medico2007-03-271-1/+2
| | | | | | (trunk r6202:6203) svn path=/main/branches/2.1.2/; revision=6293
* Pass waiting_msg into recursive lockfile() calls. (trunk r6155:6156)Zac Medico2007-03-031-2/+5
| | | | svn path=/main/branches/2.1.2/; revision=6157
* For bug #138840, show a more informative message when waiting for a ↵Zac Medico2007-03-031-25/+32
| | | | | | distfiles lock due to parallel-fetch. Thanks to David Watzke <david@watzke.cz> for the initial patch. (trunk r6142:6143) svn path=/main/branches/2.1.2/; revision=6144
* Clean up imports in portage_locks.pyAlec Warner2007-01-161-24/+20
| | | | svn path=/main/trunk/; revision=5657
* more string deprecationAlec Warner2007-01-121-4/+3
| | | | svn path=/main/trunk/; revision=5595
* Make all lock files hidden for bug #142369.Zac Medico2006-12-081-1/+3
| | | | svn path=/main/trunk/; revision=5214
* Remove an unused hardlink_active() function.Zac Medico2006-09-141-5/+0
| | | | svn path=/main/trunk/; revision=4449
* Simplify portage_locks.hardlink_is_mine() so that it only checks the number ↵Zac Medico2006-09-141-12/+2
| | | | | | of links. Nothing more is needed. svn path=/main/trunk/; revision=4448
* Remove all traces of atexit hardlock cleanup code, since it doesn't work ↵Zac Medico2006-09-141-17/+1
| | | | | | correctly anyway. svn path=/main/trunk/; revision=4447
* In unhardlink_lockfile(), make sure not to touch lockfilename unless we ↵Zac Medico2006-09-141-5/+8
| | | | | | really have a lock. See bug #147453. svn path=/main/trunk/; revision=4446
* Remove the portage_file module for bug #133591.Zac Medico2006-07-151-2/+1
| | | | svn path=/main/trunk/; revision=3892
* To prevent infinite recursion when a lock file has more than 1 hardlink, ↵Zac Medico2006-06-191-1/+1
| | | | | | test for exactly 0 hardlinks before recursing. svn path=/main/trunk/; revision=3540
* make elog mail module always set the 'From' header for rfc2822 complianceMarius Mauch2006-06-101-1/+1
| | | | svn path=/main/trunk/; revision=3483
* Change == None to is NoneAlec Warner2006-04-071-1/+1
| | | | svn path=/main/trunk/; revision=3085
* More exception fixes...Alec Warner2006-04-021-31/+8
| | | | svn path=/main/trunk/; revision=3053
* Fix 'Bad file descriptor' error with hardlink locking for bug 124140.Zac Medico2006-02-261-1/+2
| | | | svn path=/main/trunk/; revision=2790
* fix case where myfd == None (regression from revision 2714)Zac Medico2006-02-151-2/+4
| | | | svn path=/main/trunk/; revision=2715
* fix a race and prevent unlinking of a file locked by another process in ↵Zac Medico2006-02-151-6/+10
| | | | | | portage_locks.unlockfile() svn path=/main/trunk/; revision=2714
* fix race condition for bug 121819 by using os.fstat(myfd).st_nlink instead ↵Zac Medico2006-02-141-1/+1
| | | | | | of os.path.exists svn path=/main/trunk/; revision=2712
* wrap all relevant atexit usage due to incompatibility with os.execv (needed ↵Zac Medico2006-02-061-2/+2
| | | | | | for emerge to restart itself) svn path=/main/trunk/; revision=2674
* bye bye mr. cvs_id_stringBrian Harring2005-08-301-1/+1
| | | | svn path=/main/branches/2.0/; revision=1953
* header changes, $Header: -> $Id:Brian Harring2005-08-301-1/+1
| | | | svn path=/main/branches/2.0/; revision=1951
* Migration (without history) of the current stable line to subversion.Jason Stubbs2005-08-281-0/+360
svn path=/main/branches/2.0/; revision=1941