rust/src/libstd
Alex Crichton fee457d3af std: Fix some behavior without stdio handles
On all platforms, reading from stdin where the actual stdin isn't present should
return 0 bytes as having been read rather than the entire buffer.

On Windows, handle the case where we're inheriting stdio handles but one of them
isn't present. Currently the behavior is to fail returning an I/O error but
instead this commit corrects it to detecting this situation and propagating the
non-set handle.

Closes #31167
2016-01-25 17:48:27 -08:00
..
collections Add examples of the Entry API to the HashMap documentation. 2016-01-19 21:54:11 +00:00
ffi Remove leftover import of std::str in doc test 2016-01-20 10:38:29 +11:00
io std: Fix some behavior without stdio handles 2016-01-25 17:48:27 -08:00
net Auto merge of #30973 - SimonSapin:patch-16, r=alexcrichton 2016-01-18 00:58:21 +00:00
num Fix outdated comment 2016-01-14 16:47:29 +01:00
os Rollup merge of #30925 - semarie:blksize_t, r=alexcrichton 2016-01-15 17:28:29 +05:30
prelude doc: fix typo 2015-12-17 20:57:14 +02:00
rand Rollup merge of #30776 - antonblanchard:powerpc64_merge, r=alexcrichton 2016-01-15 17:28:28 +05:30
sync Semaphore not sempahore 2016-01-23 22:15:59 +08:00
sys std: Fix some behavior without stdio handles 2016-01-25 17:48:27 -08:00
thread Replace no_elf_tls with target_thread_local 2016-01-11 10:38:36 +00:00
time Rollup merge of #30591 - SimonSapin:patch-15, r=aturon 2016-01-15 17:28:28 +05:30
ascii.rs std: Add issues to all unstable features 2015-08-15 18:09:17 -07:00
dynamic_lib.rs Fix warnings when compiling stdlib with --test 2015-12-29 16:07:01 +01:00
env.rs Auto merge of #30898 - petrochenkov:tvarfstab, r=alexcrichton 2016-01-15 15:39:39 +00:00
error.rs Simplify return for error::Error impl for string::ParseError 2016-01-22 14:34:39 -05:00
fs.rs Auto merge of #31093 - tshepang:misc-doc-improvements, r=steveklabnik 2016-01-24 20:13:14 +00:00
lib.rs std: Stabilize APIs for the 1.7 release 2016-01-16 11:03:10 -08:00
macros.rs std: Stabilize APIs for the 1.6 release 2015-12-05 15:09:44 -08:00
memchr.rs std: Use the fallback impl for memrchr on non-linux 2016-01-20 18:00:34 +01:00
panic.rs Fix typo 2016-01-16 16:34:51 +01:00
panicking.rs Add missing newline character to callers of dumb_print 2016-01-13 20:40:25 +00:00
path.rs std: Stabilize APIs for the 1.7 release 2016-01-16 11:03:10 -08:00
primitive_docs.rs small fix to str doc example 2015-12-16 22:12:47 -05:00
process.rs Add a debug implementation to process::Output 2015-12-17 18:40:49 +00:00
rt.rs Fix warnings when compiling stdlib with --test 2015-12-29 16:07:01 +01:00
rtdeps.rs std: Remove rust_builtin C support library 2015-12-21 22:12:48 -08:00