This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to fix pselect() handling of NULL timeout argument


On Tue, Dec 02, 2003 at 07:32:06AM -0800, Dan Jakubiec wrote:
> Attached is a small patch that fixes the pselect() call's handling of
> NULL timeout arguments.  The previous implementation would use an
> uninitialized timeout structure when passed a NULL timeout.
> 
> This bug would cause pselect()'s with NULL timeouts to timeout after
> some random interval.  The proper behavior in this case is to block
> indefinitely.

Committed.

        Thanks
                Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]