projects
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c0f63b
)
ctdb/failover/statd_callout.c: add PATH_MAX workaround
author
Michael Tokarev
<mjt@tls.msk.ru>
Mon, 6 Jan 2025 19:38:32 +0000
(22:38 +0300)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Sun, 12 Jan 2025 20:16:00 +0000
(23:16 +0300)
Gbp-Pq: Name ctdb-failover-statd_callout-PATH_MAX-workaround.patch
ctdb/failover/statd_callout.c
patch
|
blob
|
history
diff --git
a/ctdb/failover/statd_callout.c
b/ctdb/failover/statd_callout.c
index 2f703560b29e9960c81f31e3466357fd723e1cc0..53991b1c383dd63a92d45a1c4210dbd267320981 100644
(file)
--- a/
ctdb/failover/statd_callout.c
+++ b/
ctdb/failover/statd_callout.c
@@
-25,6
+25,9
@@
#include <string.h>
#include <time.h>
#include <unistd.h>
+#ifndef PATH_MAX
+# define PATH_MAX 1024
+#endif
/*
* A configuration file, created by statd_callout_helper, containing