git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v1 4/4] compat/regex/regcomp.c: define intptr_t and uintptr_t on NonStop

From
Rrandall.s.becker@rogers.com <randall.s.becker@rogers.com>
Date
Dec 26, 2018, 23:05 UTC
Message-ID
<20181226230523.16572-5-randall.s.becker@rogers.com>
In-Reply-To
<20181226230523.16572-1-randall.s.becker@rogers.com>
From: "Randall S. Becker" <rsbecker@nexbridge.com>

The system definition header files on HPE NonStop do not define intptr_t and uintptr_t as do other platforms. These typedefs are added specifically wrapped in a __TANDEM ifdef.

Signed-off-by: Randall S. Becker <rsbecker@nexbridge.com>
---
 compat/regex/regcomp.c | 8 ++++++++
 1 file changed, 8 insertions(+)
diff --git a/compat/regex/regcomp.c b/compat/regex/regcomp.c
index 51cd60baa3..c0d838834a 100644
--- a/compat/regex/regcomp.c
+++ b/compat/regex/regcomp.c
@@ -17,6 +17,14 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#if defined __TANDEM
+ /* This is currently duplicated from git-compat-utils.h */
+# ifdef NO_INTPTR_T
+ typedef long intptr_t;
+ typedef unsigned long uintptr_t;
+# endif
+#endif
+
 static reg_errcode_t re_compile_internal (regex_t *preg, const char * pattern,
 					  size_t length, reg_syntax_t syntax);
 static void re_compile_fastmap_iter (regex_t *bufp,
-- 
2.17.0.10.gb132f7033
Previous: Randall S. BeckerNext: Derrick Stolee
Message 13 of 15 in “HPE NonStop Port Commits”
  1. 0/4 HPE NonStop Port Commitsrandall.s.becker@rogers.com, Dec 26, 2018
  2. 1/4 transport-helper: use xread instead of readrandall.s.becker@rogers.com, Dec 26, 2018
  3. Junio C HamanoDec 28, 2018
  4. Randall S. BeckerDec 28, 2018
  5. 2/4 config.mak.uname: support for modern HPE NonStop config.randall.s.becker@rogers.com, Dec 26, 2018
  6. Eric SunshineDec 27, 2018
  7. Randall S. BeckerDec 27, 2018
  8. Junio C HamanoDec 28, 2018
  9. Randall S. BeckerDec 28, 2018
  10. 3/4 git-compat-util.h: add FLOSS headers for HPE NonStoprandall.s.becker@rogers.com, Dec 26, 2018
  11. Derrick StoleeDec 27, 2018
  12. Randall S. BeckerDec 27, 2018
  13. 4/4 compat/regex/regcomp.c: define intptr_t and uintptr_t on NonStoprandall.s.becker@rogers.com, Dec 26, 2018
  14. Derrick StoleeDec 27, 2018
  15. Randall S. BeckerDec 27, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.