7 Oct 05:26
[merge][#279381] correct calls to readdir from pyrex
From: Martin Pool <mbp <at> canonical.com>
Subject: [merge][#279381] correct calls to readdir from pyrex
Newsgroups: gmane.comp.version-control.bazaar-ng.general
Date: 2008-10-07 03:29:02 GMT
Subject: [merge][#279381] correct calls to readdir from pyrex
Newsgroups: gmane.comp.version-control.bazaar-ng.general
Date: 2008-10-07 03:29:02 GMT
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/>
RSS Feed