rust/src/libstd
bors 79dd92fc16 Auto merge of #27930 - barosl:path_max, r=alexcrichton
This PR rewrites the code that previously relied on `PATH_MAX`.

On my tests, even though the user gives the buffer length explicitly, both Linux's glibc and OS X's libc seems to obey the hard limit of `PATH_MAX` internally. So, to truly remove the limitation of `PATH_MAX`, the related system calls should be rewritten from scratch in Rust, which this PR does not try to do.

However, eliminating the need of `PATH_MAX` is still a good idea for various reasons, such as: (1) they might change the implementation in the future, and (2) some platforms don't have a hard-coded `PATH_MAX`, such as GNU Hurd.

More details are in the commit messages.

Fixes #27454.

r? @alexcrichton
2015-08-27 21:47:33 +00:00
..
collections collections doc: remove mention of BitVec, BitSet, VecMap 2015-08-25 18:20:42 +02:00
ffi std: Rename cstr_memory feature to use "raw" 2015-08-18 09:10:50 -07:00
io Improve std::io::ErrorKind 2015-08-19 10:22:18 -04:00
net Add stability markers for new impls 2015-08-24 08:59:45 -07:00
num Fix undefined behavior in f64::sqrt 2015-08-22 20:08:53 -04:00
os New cross target: i686-linux-android 2015-08-23 15:38:11 +08:00
prelude doc: prelude nits 2015-07-30 10:45:00 +02:00
rand std: Add issues to all unstable features 2015-08-15 18:09:17 -07:00
rt switch core::simd to repr(simd) and deprecate it. 2015-08-17 14:41:37 -07:00
sync Auto merge of #27871 - alexcrichton:stabilize-libcore, r=aturon 2015-08-22 09:59:07 +00:00
sys Use a different buffer doubling logic for std::sys::os::getcwd 2015-08-28 04:48:03 +09:00
thread std: Add issues to all unstable features 2015-08-15 18:09:17 -07:00
time std: Add issues to all unstable features 2015-08-15 18:09:17 -07:00
ascii.rs std: Add issues to all unstable features 2015-08-15 18:09:17 -07:00
dynamic_lib.rs std: Add issues to all unstable features 2015-08-15 18:09:17 -07:00
env.rs Remove all unstable deprecated functionality 2015-08-12 14:55:17 -07:00
error.rs std: Add issues to all unstable features 2015-08-15 18:09:17 -07:00
fs.rs std: Add issues to all unstable features 2015-08-15 18:09:17 -07:00
lib.rs Refactor low-level UTF-16 decoding. 2015-08-23 00:28:56 +02:00
macros.rs std: Clean up primitive integer modules 2015-08-17 14:03:32 -07:00
panicking.rs Fix logic in panic printing with no stderr 2015-06-20 19:54:15 -07:00
path.rs Auto merge of #28030 - tshepang:improve-example, r=alexcrichton 2015-08-27 16:51:57 +00:00
primitive_docs.rs Show appropriate feature flags in docs 2015-07-27 12:28:13 -04:00
process.rs syntax: Don't assume std exists for tests 2015-08-04 14:02:36 -07:00
rtdeps.rs Auto merge of #26741 - alexcrichton:noinline-destructors, r=brson 2015-07-06 19:49:16 +00:00