projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treat base 1 as an error in strtol-family functions
[oweals/musl.git]
/
src
/
conf
/
confstr.c
diff --git
a/src/conf/confstr.c
b/src/conf/confstr.c
index 6e9c23a0812284088fa4bf54d3036d69b006a0a0..02cb1aa252dbb4c3362e17f9ed39f5d71c960989 100644
(file)
--- 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>3
1
U) {
+ } else if ((name&~4U)!=1 && name-_CS_POSIX_V6_ILP32_OFF32_CFLAGS>3
3
U) {
errno = EINVAL;
return 0;
}