Skip to content
Commit 5324d258 authored by Joe Simmons-Talbott's avatar Joe Simmons-Talbott
Browse files

fileops: Don't process ,ccs= as individual mode flags (BZ#18906)



In processing the first 7 individual characters of the mode for fopen
if ,ccs= is used those characters will be processed as well.  Stop
processing individual mode flags once a comma is encountered.  This has
the effect of requiring ,ccs= to be the last mode flag in the mode
string.  Add a testcase to check that the ,ccs= mode flag is not
processed as individual mode flags.

Reviewed-by: default avatarDJ Delorie <dj@redhat.com>
parent 02261d1b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment