chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bootchart: rename global len to samples_len
[elogind.git]
/
src
/
shared
/
env-util.c
diff --git
a/src/shared/env-util.c
b/src/shared/env-util.c
index 0f1ac9294bd1c61a12eaeb99cb075b55d28e7d88..54988e6437fe2a942b0294b906dfcb9e51b5e18e 100644
(file)
--- a/
src/shared/env-util.c
+++ b/
src/shared/env-util.c
@@
-108,7
+108,7
@@
bool env_assignment_is_valid(const char *e) {
/* POSIX says the overall size of the environment block cannot
* be > ARG_MAX, hence the individual variable assignments
/* POSIX says the overall size of the environment block cannot
* be > ARG_MAX, hence the individual variable assignments
- * cannot be either, but let's room for one trailing NUL
+ * cannot be either, but let's
leave
room for one trailing NUL
* byte. */
if (strlen(e) > ARG_MAX - 1)
return false;
* byte. */
if (strlen(e) > ARG_MAX - 1)
return false;