« Previous | Next » 

Revision 1625ce0b

ID1625ce0be63917618a1174852752d56f4a4e2210

Added by Alex Pyrgiotis over 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