[prev in list] [next in list] [prev in thread] [next in thread]
List: glibc-cvs
Subject: [glibc/maskray/lld] Fix nss/tst-reload2 for systems without PATH_MAX
From: Fangrui Song via Glibc-cvs <glibc-cvs () sourceware ! org>
Date: 2021-01-29 18:28:55
Message-ID: 20210129182855.98A3E39E3466 () sourceware ! org
[Download RAW message or body]
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=757a14b5ac7c736c759605f4b674cae28d752116
commit 757a14b5ac7c736c759605f4b674cae28d752116
Author: DJ Delorie <dj@redhat.com>
Date: Wed Jan 27 20:05:26 2021 -0500
Fix nss/tst-reload2 for systems without PATH_MAX
Diff:
---
nss/tst-reload2.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/nss/tst-reload2.c b/nss/tst-reload2.c
index 128db25ae6..5dae16b4f0 100644
--- a/nss/tst-reload2.c
+++ b/nss/tst-reload2.c
@@ -33,6 +33,10 @@
#include "nss_test.h"
+#ifndef PATH_MAX
+# define PATH_MAX 1024
+#endif
+
static struct passwd pwd_table1[] =
{
PWD_N (1234, "test1"),
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic