[merge][#279381] correct calls to readdir from pyrex

Martin Pool mbp at canonical.com
Tue Oct 7 04:29:02 BST 2008


This fixes https://bugs.edge.launchpad.net/bzr/+bug/279381 plus one
nearby bonus bug.

If the system call is interrupted with eintr or eagain, the previous
code would incorrectly assume that it was at the end of the directory,
but in fact it should continue reading.  It's probably unlikely this
would be hit, but if it was then it might cause us to think some files
had disappeared.  (There might have been a bug report of this.)

-- 
Martin <http://launchpad.net/~mbp/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20081007-279381-readdir.diff
Type: text/x-diff
Size: 4415 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20081007/ab32e1f5/attachment.bin 


More information about the bazaar mailing list