rust/library/std/src
Tavian Barnes a06edda3ad Fix segfault if pthread_getattr_np fails
glibc destroys[1] the passed pthread_attr_t if pthread_getattr_np()
fails.  Destroying it again leads to a segfault.  Fix it by only
destroying it on success for glibc.

[1]: https://sourceware.org/git/?p=glibc.git;a=blob;f=nptl/pthread_getattr_np.c;h=ce437205e41dc05653e435f6188768cccdd91c99;hb=HEAD#l205
2020-09-09 10:21:50 -04:00
..
backtrace std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
collections Auto merge of #76128 - poliorcetics:doc-use-arc-clone, r=KodrAus 2020-09-06 12:34:31 +00:00
env std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
error std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
f32 std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
f64 std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
ffi std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
fs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
io Auto merge of #74366 - t-rapp:tr-bufreader-pos, r=LukasKalbertodt 2020-09-07 11:09:41 +00:00
lazy std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
memchr std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
net Make Ipv4Addr and Ipv6Addr const tests unit tests under library 2020-09-03 23:17:21 +02:00
num std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
os Remove a useless allowed attr 2020-09-04 02:42:50 +00:00
path std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
prelude Fix incorrect link in prelude 2020-09-02 17:38:21 -04:00
process std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
sync Auto merge of #76128 - poliorcetics:doc-use-arc-clone, r=KodrAus 2020-09-06 12:34:31 +00:00
sys Fix segfault if pthread_getattr_np fails 2020-09-09 10:21:50 -04:00
sys_common Auto merge of #76128 - poliorcetics:doc-use-arc-clone, r=KodrAus 2020-09-06 12:34:31 +00:00
thread std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
time std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
alloc.rs Allow reallocation to different alignment 2020-08-19 06:46:47 +02:00
ascii.rs Convert many files to intra-doc links 2020-09-02 17:37:40 -04:00
backtrace.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
env.rs Improve docs for std::env::args() 2020-09-04 14:00:09 -07:00
error.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
f32.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
f64.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
fs.rs Convert many files to intra-doc links 2020-09-02 17:37:40 -04:00
future.rs mv std libs to library/ 2020-07-27 19:51:13 -05:00
keyword_docs.rs Improve wording for const pointers 2020-09-01 19:44:20 -07:00
lazy.rs Add compile_fail test for SyncOnceCell's dropck issue. 2020-09-05 15:55:20 +02:00
lib.rs Rollup merge of #76142 - CDirkx:const-ip, r=ecstatic-morse 2020-09-03 02:22:02 +02:00
macros.rs Add missing links 2020-08-22 20:23:50 -07:00
memchr.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
num.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
panic.rs Abort when catch_unwind catches a foreign exception 2020-08-27 21:08:30 +01:00
panicking.rs Abort when catch_unwind catches a foreign exception 2020-08-27 21:08:30 +01:00
path.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
primitive_docs.rs Rollup merge of #76164 - lzutao:slice-array, r=ehuss 2020-09-03 02:22:04 +02:00
process.rs std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
rt.rs Prevent __rust_begin_short_backtrace frames from being tail-call optimised away 2020-08-07 19:31:25 +01:00
time.rs Rollup merge of #76162 - abrausch:documentation-fix-duration_since, r=jyn514 2020-09-09 01:35:10 +02:00