5f283cddd7
FileUtils provides a library (libmfu) and a suite of MPI-parallel file utilities such as dcp (parallel copy), dcmp (compare), ddup (duplicate finder), dfind, dtar/dbz2, dchmod, and more. Designed for high scalability on large filesystems. https://hpc.github.io/mpifileutils/ https://github.com/hpc/mpifileutils/ Pull request to upstream repo with local patches: https://github.com/hpc/mpifileutils/pull/664 PR: 291679 Sponsored by: UNIS Labs Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
23 lines
491 B
C
23 lines
491 B
C
--- mpifileutils/src/dsync/dsync.c.orig 2025-02-19 22:20:52 UTC
|
|
+++ mpifileutils/src/dsync/dsync.c
|
|
@@ -24,7 +24,7 @@
|
|
#include <stdlib.h>
|
|
#include <mpi.h>
|
|
#include <libcircle.h>
|
|
-#include <linux/limits.h>
|
|
+#include <limits.h>
|
|
#include <libgen.h>
|
|
#include <errno.h>
|
|
#include <dtcmp.h>
|
|
@@ -32,6 +32,10 @@
|
|
#define _XOPEN_SOURCE 600
|
|
#include <fcntl.h>
|
|
#include <string.h>
|
|
+
|
|
+#ifndef PATH_MAX
|
|
+#define PATH_MAX 4096
|
|
+#endif
|
|
|
|
/* for bool type, true/false macros */
|
|
#include <stdbool.h>
|