Skip to content

Commit 8d1cacf

Browse files
committed
---
yaml --- r: 130295 b: refs/heads/auto c: 38bf999 h: refs/heads/master i: 130293: 238bfee 130291: c26004b 130287: a2ce927 v: v3
1 parent 5e2d818 commit 8d1cacf

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: fca8a1d1510e8a526981eadd3c3fd221b501e6d6
16+
refs/heads/auto: 38bf999f4a5337022211c9b990fcb7dfe0bccf32
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/src/libstd/io/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1274,7 +1274,7 @@ mod test {
12741274

12751275
error!(result, "couldn't recursively mkdir");
12761276
error!(result, "couldn't create directory");
1277-
error!(result, "mode=700");
1277+
error!(result, "mode=0700");
12781278
error!(result, format!("path={}", file.display()));
12791279
})
12801280

branches/auto/src/libstd/io/mod.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1838,7 +1838,7 @@ impl Default for FilePermission {
18381838
impl fmt::Show for FilePermission {
18391839
fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
18401840
formatter.fill = '0';
1841-
formatter.width = Some(3);
1841+
formatter.width = Some(4);
18421842
(&self.bits as &fmt::Octal).fmt(formatter)
18431843
}
18441844
}
@@ -1949,13 +1949,13 @@ mod tests {
19491949
fn test_show() {
19501950
use super::*;
19511951

1952-
assert_eq!(format!("{}", UserRead), "400".to_string());
1953-
assert_eq!(format!("{}", UserFile), "644".to_string());
1954-
assert_eq!(format!("{}", UserExec), "755".to_string());
1955-
assert_eq!(format!("{}", UserRWX), "700".to_string());
1956-
assert_eq!(format!("{}", GroupRWX), "070".to_string());
1957-
assert_eq!(format!("{}", OtherRWX), "007".to_string());
1958-
assert_eq!(format!("{}", AllPermissions), "777".to_string());
1959-
assert_eq!(format!("{}", UserRead | UserWrite | OtherWrite), "602".to_string());
1952+
assert_eq!(format!("{}", UserRead), "0400".to_string());
1953+
assert_eq!(format!("{}", UserFile), "0644".to_string());
1954+
assert_eq!(format!("{}", UserExec), "0755".to_string());
1955+
assert_eq!(format!("{}", UserRWX), "0700".to_string());
1956+
assert_eq!(format!("{}", GroupRWX), "0070".to_string());
1957+
assert_eq!(format!("{}", OtherRWX), "0007".to_string());
1958+
assert_eq!(format!("{}", AllPermissions), "0777".to_string());
1959+
assert_eq!(format!("{}", UserRead | UserWrite | OtherWrite), "0602".to_string());
19601960
}
19611961
}

0 commit comments

Comments
 (0)