diff options
| author | Tobias Bucher <tobiasbucher5991@gmail.com> | 2015-10-25 12:05:34 +0000 |
|---|---|---|
| committer | Tobias Bucher <tobiasbucher5991@gmail.com> | 2015-11-16 23:32:36 +0000 |
| commit | 87243bcce8b56aa118d677c3af22d645a2ac1ab8 (patch) | |
| tree | 8fe36e41cf7032930d1cadc10cd3eb7c631c0ead /src/libstd/sys/unix/stack_overflow.rs | |
| parent | b7845f93b54d3e45fcac94e7d7f3111aad90142f (diff) | |
| download | rust-87243bcce8b56aa118d677c3af22d645a2ac1ab8.tar.gz rust-87243bcce8b56aa118d677c3af22d645a2ac1ab8.zip | |
Ignore malformed environment strings like glibc does
Otherwise, the iterator and the functions for getting specific
environment variables might disagree, for environments like
FOOBAR
Variable names starting with equals sign are OK:
glibc only interprets equals signs not in the first position as
separators between variable name and variable value. Instead of skipping
them entirely, a leading equals sign is interpreted to be part of the
variable name.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
