Thread (49 messages) flat view 49 messages, 5 authors, 2016-06-27

Re: [PATCH v12 04/20] index-helper: new daemon for caching index and related stuff

From: Duy Nguyen <hidden>
Date: 2016-06-25 14:16:10

On Fri, Jun 17, 2016 at 6:43 PM, Christian Couder
[off-list ref] wrote:
On Thu, May 19, 2016 at 11:45 PM, David Turner [off-list ref] wrote:
quoted
From: Nguyễn Thái Ngọc Duy <redacted>

+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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help