https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93456

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2020-01-27
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Created attachment 47716
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47716&action=edit
Avoid overflow and loop

This is a patch to make the function loop if necessary, waiting no more than
numeric_limits<time_t>::max() at a time.

The change is slightly more convoluted than might seem necessary, because it is
intended to continue working after the type of rt.tv_sec changes (for PR
93421).

I'll wait for stage 1 to make this change.

Reply via email to