Skip to content

Use O_CREAT in createOutputFile#398

Merged
cgzones merged 1 commit intologrotate:masterfrom
cgzones:create
Jun 14, 2021
Merged

Use O_CREAT in createOutputFile#398
cgzones merged 1 commit intologrotate:masterfrom
cgzones:create

Conversation

@cgzones
Copy link
Member

@cgzones cgzones commented Jun 11, 2021

As the name suggests createOutputFile() does create a new file by
using the flag O_EXCL and all its callers using the flag O_CREAT.

Use O_CREAT inside of createOutputFile() instead of specifying it by
every caller.

As the name suggests `createOutputFile()` does create a new file by
using the flag O_EXCL and all its callers using the flag O_CREAT.

Use O_CREAT inside of `createOutputFile()` instead of specifying it by
every caller.
@cgzones cgzones merged commit 35501a2 into logrotate:master Jun 14, 2021
@cgzones cgzones deleted the create branch June 14, 2021 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants