Re: Nginx coding conventions validator

2019-06-04 Thread Vasily Soshnikov
Hi, I never hear about suck tools, but I can suggest you use cppcheck[1] for having some validations. But you have to configure this tool. I hope that help you. [1] http://cppcheck.sourceforge.net On Tue, 4 Jun 2019 at 18:20, Eran Kornblau wrote: > Hi all, > > > > Does anyone happen to have s

Re: ngx_write_fd

2018-03-29 Thread Vasily Soshnikov
Hi, The UNIX-like system does not guarantee atomic write to a file (i.e. regular file). Actual, it works sometimes and for some system with tons of limitation. I prefer to avoid this practice. What can you do? You can lock (i.e. flock() and so on) file for writing, It's synchronization of concurr