On Fri, Jun 17, 2016 at 6:43 PM, Christian Couder <[email protected]> wrote: > On Thu, May 19, 2016 at 11:45 PM, David Turner <[email protected]> > wrote: >> From: Nguyễn Thái Ngọc Duy <[email protected]> >> >> +static void loop(int fd, int idle_in_seconds) >> +{ >> + assert(idle_in_seconds < INT_MAX / 1000); > > This assert may not be very nice to users setting the value using > --exit-after.
Yeah. We could catch this after parsing --exit-after (and before forking to background, losing stderr) for invalid values and forget about this assert. -- Duy -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

