« Previous | Next » 

Revision b782cd3d

IDb782cd3d1774de6bca36c39fa30548a333af20b8
Parent 86555df4
Child 9df870d7

Added by Alex Pyrgiotis about 11 years ago

Add S_IWUSR permission bit for O_CREAT

In Ubuntu haven't tested it elsewhere yet gcc has a global cflag
called "D_FORTIFY_SOURCE=2" that errs when files are not created
with explicit user permissions. Since files are O_WRONLY, I added
the S_IWUSR permission bit.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences