On Fri, Jun 17, 2016 at 6:43 PM, Christian Couder
<christian.cou...@gmail.com> wrote:
> On Thu, May 19, 2016 at 11:45 PM, David Turner <dtur...@twopensource.com> 
> wrote:
>> From: Nguyễn Thái Ngọc Duy <pclo...@gmail.com>
>>
>> +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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to