<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/84099fea57ee250b67772a632b6ea94e03fff687">https://github.com/macports/macports-ports/commit/84099fea57ee250b67772a632b6ea94e03fff687</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 84099fe gnu-extension-headers: Update to 1.1, clean up installed stdio_filebuf.h header
</span>84099fe is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 84099fea57ee250b67772a632b6ea94e03fff687
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Wed May 1 18:47:52 2019 +0100
<span style='display:block; white-space:pre;color:#404040;'> gnu-extension-headers: Update to 1.1, clean up installed stdio_filebuf.h header
</span>---
devel/gnu-extension-headers/Portfile | 2 +-
.../files/ext/stdio_filebuf.h | 70 +++++++++-------------
2 files changed, 30 insertions(+), 42 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/gnu-extension-headers/Portfile b/devel/gnu-extension-headers/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0a2b629..3e04e5c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/gnu-extension-headers/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/gnu-extension-headers/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,7 +3,7 @@
</span> PortSystem 1.0
name gnu-extension-headers
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.1
</span>
categories lang devel
platforms darwin
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/gnu-extension-headers/files/ext/stdio_filebuf.h b/devel/gnu-extension-headers/files/ext/stdio_filebuf.h
</span><span style='display:block; white-space:pre;color:#808080;'>index d13187a..87b6fda 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/gnu-extension-headers/files/ext/stdio_filebuf.h
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/gnu-extension-headers/files/ext/stdio_filebuf.h
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -76,7 +76,19 @@ namespace __gnu_cxx {
</span> * closed when the stdio_filebuf is closed/destroyed.
*/
stdio_filebuf(int __fd, std::ios_base::openmode __mode,
<span style='display:block; white-space:pre;background:#ffe0e0;'>- size_t __size = static_cast<size_t>(BUFSIZ));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size_t __size = static_cast<size_t>(BUFSIZ))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ this->_M_file.sys_open(__fd, __mode);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (this->is_open())
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ this->_M_mode = __mode;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ this->_M_buf_size = __size;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ this->_M_allocate_internal_buffer();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ this->_M_reading = false;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ this->_M_writing = false;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ this->_M_set_buffer(-1);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
/**
* @param f An open @c FILE*.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -88,15 +100,28 @@ namespace __gnu_cxx {
</span> * C @c FILE*. The @c FILE* will not be automatically closed when the
* stdio_filebuf is closed/destroyed.
*/
<span style='display:block; white-space:pre;background:#ffe0e0;'>- stdio_filebuf(FILE* __f, std::ios_base::openmode __mode,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size_t __size = static_cast<size_t>(BUFSIZ));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ template< typename _File >
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ stdio_filebuf(_File* __f, std::ios_base::openmode __mode,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size_t __size = static_cast<size_t>(BUFSIZ))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ this->_M_file.sys_open(__f, __mode);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (this->is_open())
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ this->_M_mode = __mode;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ this->_M_buf_size = __size;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ this->_M_allocate_internal_buffer();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ this->_M_reading = false;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ this->_M_writing = false;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ this->_M_set_buffer(-1);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
/**
* Closes the external data stream if the file descriptor constructor
* was used.
*/
virtual
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ~stdio_filebuf();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ~stdio_filebuf() { }
</span>
/**
* @return The underlying file descriptor.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -120,43 +145,6 @@ namespace __gnu_cxx {
</span> file() { return this->_M_file.file(); }
};
<span style='display:block; white-space:pre;background:#ffe0e0;'>- template<typename _CharT, typename _Traits>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- stdio_filebuf<_CharT, _Traits>::~stdio_filebuf()
</span><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;'>- template<typename _CharT, typename _Traits>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- stdio_filebuf<_CharT, _Traits>::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- stdio_filebuf(int __fd, std::ios_base::openmode __mode, size_t __size)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- this->_M_file.sys_open(__fd, __mode);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (this->is_open())
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- this->_M_mode = __mode;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- this->_M_buf_size = __size;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- this->_M_allocate_internal_buffer();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- this->_M_reading = false;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- this->_M_writing = false;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- this->_M_set_buffer(-1);
</span><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;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- template<typename _CharT, typename _Traits>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- stdio_filebuf<_CharT, _Traits>::
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- stdio_filebuf(FILE* __f, std::ios_base::openmode __mode,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size_t __size)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- this->_M_file.sys_open(__f, __mode);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (this->is_open())
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- this->_M_mode = __mode;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- this->_M_buf_size = __size;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- this->_M_allocate_internal_buffer();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- this->_M_reading = false;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- this->_M_writing = false;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- this->_M_set_buffer(-1);
</span><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;'>-
</span> }
#endif
</pre><pre style='margin:0'>
</pre>