Skip to content

Conversation

@agoncharuk
Copy link

When built on Ubuntu 21.04, the dbgen crashes complaining that open() is called with O_CREAT flag, but the mode parameter is not provided, which is in line with the open() documentation:

The mode argument must be supplied if O_CREAT or O_TMPFILE is specified in flags; if it is not supplied, some arbitrary bytes from the stack will be applied as the file mode.

The PR adds the required mode parameter in line with the similar calls below. After this change dbgen runs successfully on my system.

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.

1 participant