[Pkg-shadow-devel] [PATCH v2 4/5] commonio_open: O_RDWR, implies O_CREAT. Thus all databases are created, if missing.

Mike Frysinger vapier at gentoo.org
Sun Apr 5 02:55:10 UTC 2015


On 01 Apr 2015 13:43, Dimitri John Ledkov wrote:
> --- a/lib/commonio.c
> +++ b/lib/commonio.c
> +
> +	// O_RDWR implies O_CREAT
> +	if ((flags & O_RDWR) != 0) {
> +		flags |= O_CREAT;
> +	}

the code base avoids // comments
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20150404/f431e9e8/attachment.sig>


More information about the Pkg-shadow-devel mailing list