Rusty Russell

Results 311 comments of Rusty Russell

Hi! What platform? Thanks, Rusty. John Kenrinus Lee writes: > cc -g3 -ggdb -Wall -Wstrict-prototypes -Wold-style-definition -Wundef -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wwrite-strings -DCCAN_STR_DEBUG=1 -I. -MMD -MP -MFccan/coroutine/coroutine.o.d -MTccan/coroutine/coroutine.o -c ccan/coroutine/coroutine.c -o...

dancancode [email protected] writes: > I find naming really hard. I'm open to suggestions. filecnt? Cheers, Rusty.

Paul Wayper [email protected] writes: > …; condensed more rows of '0xff's. Hmm, cleverly, the author did not put an Author line in the _info file. Fortunately, it was revealed by...

Good point! A couple of typos to fix is all it needs then!

Maxim Zakharov [email protected] writes: > Nope. If the new fd is already open, dup2() would close it before reusing. If the old fd is equal to the new fd dup2()...

Maxim Zakharov [email protected] writes: > It looks very good, but perhaps we need to add a comment that this code is rely on unix's property to always use lowest unused...

Maxim Zakharov [email protected] writes: > It is better to use _exit() on parent termination as it doesn't trigger atexit() processing which would be processed when daemon terminates normal way. >...

Maxim Zakharov [email protected] writes: > We need to suppress SIGHUP until we set up as the parent's exit on forking would throw it. Would it? I'm surprised. If so, we...

Maxim Zakharov [email protected] writes: > But if the caller to do not expect it default action for SIGHUP is to terminate the process. Ah, I see! So, if the parent...

Maxim Zakharov [email protected] writes: > I have added bottom-up heapsort module implementing a modified version of bottom-up heapsort sorting, see details here: http://blog.dataparksearch.org/397 > > It is unified with asort()...