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
|
Origin-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881952
Description: Fix for MAXHOSTNAMELEN, MAXPATHLEN not present on Hurd
Author: Alastair McKinstry <mckinstry@debian.org>
Forwarded: no
Last-Updated: 2024-12-01
--- a/src/mca/base/pmix_mca_base_var.c
+++ b/src/mca/base/pmix_mca_base_var.c
@@ -56,6 +56,10 @@
#define MAXPATHLEN 1024
#endif
+#ifndef MAXPATHLEN /* Hurd */
+#define MAXPATHLEN 1024
+#endif
+
/*
* global variables
*/
--- a/src/common/pmix_pfexec.c
+++ b/src/common/pmix_pfexec.c
@@ -92,6 +92,10 @@
#define MAXPATHLEN 1024
#endif
+#ifndef MAXPATHLEN /* Hurd */
+#define MAXPATHLEN 1024
+#endif
+
static pmix_status_t setup_prefork(pmix_pfexec_child_t *child);
static pmix_status_t register_nspace(char *nspace, pmix_setup_caddy_t *fcd);
static void wait_signal_callback(int fd, short event, void *arg);
|