/usr/include/ace/OS_NS_regex.inl is in libace-dev 6.0.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | // -*- C++ -*-
// $Id: OS_NS_regex.inl 91781 2010-09-15 12:49:15Z johnnyw $
#include "ace/OS_NS_errno.h"
#include "ace/os_include/os_regex.h"
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE char *
ACE_OS::compile (const char *instring, char *expbuf, char *endbuf)
{
ACE_OS_TRACE ("ACE_OS::compile");
#if defined (ACE_HAS_REGEX)
ACE_OSCALL_RETURN (::compile (instring, expbuf, endbuf), char *, 0);
#else
ACE_UNUSED_ARG (instring);
ACE_UNUSED_ARG (expbuf);
ACE_UNUSED_ARG (endbuf);
ACE_NOTSUP_RETURN (0);
#endif /* ACE_HAS_REGEX */
}
ACE_INLINE int
ACE_OS::step (const char *str, char *expbuf)
{
ACE_OS_TRACE ("ACE_OS::step");
#if defined (ACE_HAS_REGEX)
ACE_OSCALL_RETURN (::step (str, expbuf), int, -1);
#else
ACE_UNUSED_ARG (str);
ACE_UNUSED_ARG (expbuf);
ACE_NOTSUP_RETURN (-1);
#endif /* ACE_HAS_REGEX */
}
ACE_END_VERSIONED_NAMESPACE_DECL
|