<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-legacy-support.
</pre>
<p><a href="https://github.com/macports/macports-legacy-support/commit/03fa61e9df0d0cfaeb747dbb0b196dcaf4b463c9">https://github.com/macports/macports-legacy-support/commit/03fa61e9df0d0cfaeb747dbb0b196dcaf4b463c9</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 03fa61e standarize headers
</span>03fa61e is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 03fa61e9df0d0cfaeb747dbb0b196dcaf4b463c9
</span>Author: kencu <ken.cunningham.webuse@gmail.com>
AuthorDate: Fri Mar 1 21:24:18 2019 -0800
<span style='display:block; white-space:pre;color:#404040;'> standarize headers
</span>---
include/pthread.h | 7 ++-----
include/pthread_impl.h | 7 ++-----
include/stdio.h | 6 +++---
include/string.h | 6 +++---
include/sys/fcntl.h | 3 +++
include/sys/mman.h | 3 +++
include/sys/queue.h | 6 +++---
include/sys/stat.h | 2 --
include/sys/unistd.h | 2 --
include/time.h | 6 +++---
include/unistd.h | 22 ++++++++++++++++++++++
include/wchar.h | 6 +++---
12 files changed, 47 insertions(+), 29 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/include/pthread.h b/include/pthread.h
</span><span style='display:block; white-space:pre;color:#808080;'>index 54f6f0d..26f80a1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/include/pthread.h
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/include/pthread.h
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,14 +18,11 @@
</span> #ifndef _MACPORTS_PTHREAD_H_
#define _MACPORTS_PTHREAD_H_
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-/* Include the primary system pthread.h */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#include_next <pthread.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> /* MP support header */
#include "MacportsLegacySupport.h"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+/* Include the primary system pthread.h */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#include_next <pthread.h>
</span>
#if __MP_LEGACY_SUPPORT_PTHREAD_RWLOCK__
/* PTHREAD_RWLOCK_INITIALIZER is not defined on Tiger */
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/include/pthread_impl.h b/include/pthread_impl.h
</span><span style='display:block; white-space:pre;color:#808080;'>index 8da9f1c..b244b0c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/include/pthread_impl.h
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/include/pthread_impl.h
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,14 +18,11 @@
</span> #ifndef _MACPORTS_PTHREAD_IMPL_H_
#define _MACPORTS_PTHREAD_IMPL_H_
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-/* Include the primary system pthread_impl.h */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#include_next <pthread_impl.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> /* MP support header */
#include "MacportsLegacySupport.h"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+/* Include the primary system pthread_impl.h */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#include_next <pthread_impl.h>
</span>
#if __MP_LEGACY_SUPPORT_PTHREAD_RWLOCK__
/* PTHREAD_RWLOCK_INITIALIZER is not defined on Tiger */
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/include/stdio.h b/include/stdio.h
</span><span style='display:block; white-space:pre;color:#808080;'>index f0865fd..30bc0fd 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/include/stdio.h
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/include/stdio.h
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,12 +19,12 @@
</span> #ifndef _MACPORTS_STDIO_H_
#define _MACPORTS_STDIO_H_
<span style='display:block; white-space:pre;background:#ffe0e0;'>-/* Include the primary system time.h */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#include_next <stdio.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> /* MP support header */
#include "MacportsLegacySupport.h"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+/* Include the primary system time.h */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#include_next <stdio.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> /* getline */
#if __MP_LEGACY_SUPPORT_GETLINE__
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/include/string.h b/include/string.h
</span><span style='display:block; white-space:pre;color:#808080;'>index 4875d45..ab7eddb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/include/string.h
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/include/string.h
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,12 +18,12 @@
</span> #ifndef _MACPORTS_STRING_H_
#define _MACPORTS_STRING_H_
<span style='display:block; white-space:pre;background:#ffe0e0;'>-/* Include the primary system string.h */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#include_next <string.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> /* MP support header */
#include "MacportsLegacySupport.h"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+/* Include the primary system string.h */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#include_next <string.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> /* strnlen */
#if __MP_LEGACY_SUPPORT_STRNLEN__
#ifdef __cplusplus
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/include/sys/fcntl.h b/include/sys/fcntl.h
</span><span style='display:block; white-space:pre;color:#808080;'>index e64144b..11d2385 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/include/sys/fcntl.h
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/include/sys/fcntl.h
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,6 +22,9 @@
</span> /* Include the primary system fcntl.h */
#include_next <sys/fcntl.h>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+/* MP support header */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#include "MacportsLegacySupport.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> /* replace missing O_CLOEXEC definition with 0, which works
* but does not replace the full function of that flag
* this is the commonly done fix in MacPorts (see gtk3, for example)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/include/sys/mman.h b/include/sys/mman.h
</span><span style='display:block; white-space:pre;color:#808080;'>index e208744..1d26e83 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/include/sys/mman.h
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/include/sys/mman.h
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,6 +21,9 @@
</span> /* Include the primary system sys/mman.h */
#include_next <sys/mman.h>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+/* MP support header */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#include "MacportsLegacySupport.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> /* MAP_ANONYMOUS only exists on 10.11+ */
/* Prior to that it was called MAP_ANON */
#ifndef MAP_ANONYMOUS
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/include/sys/queue.h b/include/sys/queue.h
</span><span style='display:block; white-space:pre;color:#808080;'>index 5623c46..cb06e1b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/include/sys/queue.h
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/include/sys/queue.h
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,12 +19,12 @@
</span> #ifndef _MACPORTS_SYS_QUEUE_H_
#define _MACPORTS_SYS_QUEUE_H_
<span style='display:block; white-space:pre;background:#ffe0e0;'>-/* MP support header */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#include "MacportsLegacySupport.h"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> /* Include the primary system sys/queue.h */
#include_next <sys/queue.h>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+/* MP support header */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#include "MacportsLegacySupport.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> #if __MP_LEGACY_SUPPORT_STAILQ_FOREACH__
/* STAILQ_FOREACH is not defined on Tiger */
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/include/sys/stat.h b/include/sys/stat.h
</span><span style='display:block; white-space:pre;color:#808080;'>index afbe462..b961bb2 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/include/sys/stat.h
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/include/sys/stat.h
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,8 +19,6 @@
</span> #ifndef _MACPORTS_SYSSTAT_H_
#define _MACPORTS_SYSSTAT_H_
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> /* Include the primary system stat.h */
#include_next <sys/stat.h>
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/include/sys/unistd.h b/include/sys/unistd.h
</span><span style='display:block; white-space:pre;color:#808080;'>index 66ed768..1f2db11 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/include/sys/unistd.h
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/include/sys/unistd.h
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,8 +19,6 @@
</span> #ifndef _MACPORTS_SYSUNISTD_H_
#define _MACPORTS_SYSUNISTD_H_
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> /* Include the primary system unistd.h */
#include_next <sys/unistd.h>
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/include/time.h b/include/time.h
</span><span style='display:block; white-space:pre;color:#808080;'>index da20db1..5f569af 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/include/time.h
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/include/time.h
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,12 +18,12 @@
</span> #ifndef _MACPORTS_TIME_H_
#define _MACPORTS_TIME_H_
<span style='display:block; white-space:pre;background:#ffe0e0;'>-/* Include the primary system time.h */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#include_next <time.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> /* MP support header */
#include "MacportsLegacySupport.h"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+/* Include the primary system time.h */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#include_next <time.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> /* Legacy implementation of clock_gettime */
#if __MP_LEGACY_SUPPORT_GETTIME__
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/include/unistd.h b/include/unistd.h
</span><span style='display:block; white-space:pre;color:#808080;'>index 1fa73b6..0a381ca 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/include/unistd.h
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/include/unistd.h
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,3 +1,23 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+/*
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * Copyright (c) 2010 Chris Jones <jonesc@macports.org>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * Copyright (c) 2019 Ken Cunningham <kencu@macports.org>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * Permission to use, copy, modify, and distribute this software for any
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * purpose with or without fee is hereby granted, provided that the above
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * copyright notice and this permission notice appear in all copies.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#ifndef _MACPORTS_UNISTD_H_
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#define _MACPORTS_UNISTD_H_
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> /* MP support header */
#include "MacportsLegacySupport.h"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -31,3 +51,5 @@ extern long sysconf(int) __MP_LEGACY_WRAPPER_ALIAS(sysconf);
</span> #endif
#endif /* __ENABLE_MP_LEGACY_SUPPORT_SYSCONF_WRAP__ */
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#endif /* _MACPORTS_UNISTD_H_ */
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/include/wchar.h b/include/wchar.h
</span><span style='display:block; white-space:pre;color:#808080;'>index 25233f2..6f68603 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/include/wchar.h
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/include/wchar.h
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,12 +18,12 @@
</span> #ifndef _MACPORTS_WCHAR_H_
#define _MACPORTS_WCHAR_H_
<span style='display:block; white-space:pre;background:#ffe0e0;'>-/* Include the primary system wchar.h */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#include_next <wchar.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> /* MP support header */
#include "MacportsLegacySupport.h"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+/* Include the primary system wchar.h */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#include_next <wchar.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> #ifdef __cplusplus
extern "C" {
#endif
</pre><pre style='margin:0'>
</pre>