[DragonFlyBSD - Submit #2885] (Closed) Add support for 'x' flag to fopen() and friends (C11)

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sun May 8 13:24:00 PDT 2016


Issue #2885 has been updated by swildner.

Status changed from New to Closed

This was pushed in a modified form:

https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bf662a3e86f3f2fc420ffa99385ca8a9d412938a


----------------------------------------
Submit #2885: Add support for 'x' flag to fopen() and friends (C11)
http://bugs.dragonflybsd.org/issues/2885#change-12875

* Author: xenu
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
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)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Submit mailing list