about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorTobias Bucher <tobiasbucher5991@gmail.com>2015-10-25 12:05:34 +0000
committerTobias Bucher <tobiasbucher5991@gmail.com>2015-11-16 23:32:36 +0000
commit87243bcce8b56aa118d677c3af22d645a2ac1ab8 (patch)
tree8fe36e41cf7032930d1cadc10cd3eb7c631c0ead /src/libstd/sys/unix/stack_overflow.rs
parentb7845f93b54d3e45fcac94e7d7f3111aad90142f (diff)
downloadrust-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