Project

General

Profile

Actions

Submit #2885

closed

Add support for 'x' flag to fopen() and friends (C11)

Added by xenu almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
01/25/2016
Due date:
% Done:

0%

Estimated time:

Description

C11 defines new modifier for fopen(), 'x', this patch implements it.

Note that I've changed fopen() behavior a little, it is more strict and fails if it finds flag that it doesn't understand. If that's not OK, just remove part that is returning in second switch(). I personally think it's better to fail than pretend we support something.

Any comments are welcome.


Files

fopen-c11.patch (2.02 KB) fopen-c11.patch xenu, 01/25/2016 11:55 AM
Actions #1

Updated by swildner over 5 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF