[pcre-dev] [Bug 2009] New: sljitProtExecAllocator defines _…

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 2009] New: sljitProtExecAllocator defines _XOPEN_SOURCE too late
https://bugs.exim.org/show_bug.cgi?id=2009

            Bug ID: 2009
           Summary: sljitProtExecAllocator defines _XOPEN_SOURCE too late
           Product: PCRE
           Version: N/A
          Hardware: All
                OS: All
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: chpe@???
                CC: pcre-dev@???


sljitProtExecAllocator.c has

#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 500 /* for mkstemp() and truncate() */
#endif

However, when these lines are reached, some libc header(s) have already been
included, which is too late. This needs to be defined before the first libc
header is included.

--
You are receiving this mail because:
You are on the CC list for the bug.