Skip to content

Commit 1aed69e

Browse files
committed
---
yaml --- r: 162748 b: refs/heads/try c: 738d980 h: refs/heads/master v: v3
1 parent fdb4883 commit 1aed69e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+1027
-1396
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 9146a919b616e39e528e4d7100d16eef52f1f852
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cafe2966770ff377aad6dd9fd808e68055587c58
5-
refs/heads/try: 2d3de6686eaa3e0c42a66cd1abf96edfd499b2a6
5+
refs/heads/try: 738d9803ac7d995cca3ff80b8ab1bd2e8fb11dad
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/libcollections/binary_heap.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
//! A priority queue implemented with a binary heap.
1212
//!
13-
//! Insertions have `O(log n)` time complexity and checking or popping the largest element is
14-
//! `O(1)`. Converting a vector to a priority queue can be done in-place, and has `O(n)`
13+
//! Insertion and popping the largest element have `O(log n)` time complexity. Checking the largest
14+
//! element is `O(1)`. Converting a vector to a priority queue can be done in-place, and has `O(n)`
1515
//! complexity. A priority queue can also be converted to a sorted vector in-place, allowing it to
1616
//! be used for an `O(n log n)` in-place heapsort.
1717
//!

branches/try/src/liblibc/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ pub use funcs::bsd43::{shutdown};
192192
#[cfg(unix)] pub use types::os::arch::posix01::{stat, utimbuf};
193193
#[cfg(unix)] pub use types::os::common::bsd44::{ifaddrs};
194194
#[cfg(unix)] pub use funcs::posix88::unistd::{sysconf, setgid, setsid, setuid, pread, pwrite};
195-
#[cfg(unix)] pub use funcs::posix88::unistd::{getgid, getuid};
195+
#[cfg(unix)] pub use funcs::posix88::unistd::{getgid, getuid, getsid};
196196
#[cfg(unix)] pub use funcs::posix88::unistd::{_PC_NAME_MAX, utime, nanosleep, pathconf, link};
197197
#[cfg(unix)] pub use funcs::posix88::unistd::{chown};
198198
#[cfg(unix)] pub use funcs::posix88::mman::{mmap, munmap, mprotect};
@@ -4402,6 +4402,7 @@ pub mod funcs {
44024402
pub fn getpid() -> pid_t;
44034403
pub fn getppid() -> pid_t;
44044404
pub fn getuid() -> uid_t;
4405+
pub fn getsid(pid: pid_t) -> pid_t;
44054406
pub fn isatty(fd: c_int) -> c_int;
44064407
pub fn link(src: *const c_char, dst: *const c_char) -> c_int;
44074408
pub fn lseek(fd: c_int, offset: off_t, whence: c_int)

0 commit comments

Comments
 (0)