about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2022-04-20 09:06:54 -0400
committerRich Felker <dalias@aerifal.cx>2022-04-20 09:06:54 -0400
commit55b727d7ad6c3c8ac147622c441e2995e553e91d (patch)
tree51513fd3135f98d88e47b9af744160c52f4826db /src
parent8cf87b3027009c0acac591d9ae80262dc25daccf (diff)
downloadmusl-55b727d7ad6c3c8ac147622c441e2995e553e91d.tar.gz
musl-55b727d7ad6c3c8ac147622c441e2995e553e91d.tar.xz
musl-55b727d7ad6c3c8ac147622c441e2995e553e91d.zip
add missing POSIX confstr keys for pthread CFLAGS/LDFLAGS
_CS_POSIX_V7_THREADS_CFLAGS and _CS_POSIX_V7_THREADS_LDFLAGS have been
missing for a long time, which is a conformance defect. we were
waiting on glibc to add them or at least agree on the numeric values
they will have so as to keep the numbering aligned. it looks like they
will be added to glibc with these numbers, and in any case, this list
does not have any significant churn that would result in the numbers
getting taken.
Diffstat (limited to 'src')
-rw-r--r--src/conf/confstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf/confstr.c b/src/conf/confstr.c
index 02cb1aa2..3d417284 100644
--- a/src/conf/confstr.c
+++ b/src/conf/confstr.c
@@ -7,7 +7,7 @@ size_t confstr(int name, char *buf, size_t len)
 	const char *s = "";
 	if (!name) {
 		s = "/bin:/usr/bin";
-	} else if ((name&~4U)!=1 && name-_CS_POSIX_V6_ILP32_OFF32_CFLAGS>33U) {
+	} else if ((name&~4U)!=1 && name-_CS_POSIX_V6_ILP32_OFF32_CFLAGS>35U) {
 		errno = EINVAL;
 		return 0;
 	}