[PATCH] Add pid-file support

David Woodhouse dwmw2 at infradead.org
Wed Aug 10 05:47:41 EDT 2011

On Fri, 2011-08-05 at 14:37 -0700, Steven Allen wrote:
> +                       fp = fopen(pidfile, "w"); 

I believe we should be using O_EXCL here. So open() not fopen().

David Woodhouse                            Open Source Technology Centre
David.Woodhouse at intel.com                              Intel Corporation

More information about the openconnect-devel mailing list