about summary refs log tree commit diff
path: root/src/libstd/run.rs
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2013-12-03 19:15:12 -0800
committerKevin Ballard <kevin@sb.org>2013-12-04 22:33:53 -0800
commit408dc5ad1b657eb2261e7ac680b8d100469e5477 (patch)
treebf2b7e8a7c1a5161b5fe531925fa2e0d9e5f34f5 /src/libstd/run.rs
parentbd5305fbc818d0f59eaabcfd08f19e8c23ea931f (diff)
downloadrust-408dc5ad1b657eb2261e7ac680b8d100469e5477.tar.gz
rust-408dc5ad1b657eb2261e7ac680b8d100469e5477.zip
Revert "libstd: Change `Path::new` to `Path::init`."
This reverts commit c54427ddfbbab41a39d14f2b1dc4f080cbc2d41b.

Leave the #[ignores] in that were added to rustpkg tests.

Conflicts:
	src/librustc/driver/driver.rs
	src/librustc/metadata/creader.rs
Diffstat (limited to 'src/libstd/run.rs')
-rw-r--r--src/libstd/run.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/run.rs b/src/libstd/run.rs
index 6cc5e5cc9f2..d29b7388fe2 100644
--- a/src/libstd/run.rs
+++ b/src/libstd/run.rs
@@ -506,7 +506,7 @@ mod tests {
 
         let output = str::from_utf8_owned(prog.finish_with_output().output);
         let parent_dir = os::getcwd();
-        let child_dir = Path::init(output.trim());
+        let child_dir = Path::new(output.trim());
 
         let parent_stat = parent_dir.stat();
         let child_stat = child_dir.stat();
@@ -523,7 +523,7 @@ mod tests {
         let mut prog = run_pwd(Some(&parent_dir));
 
         let output = str::from_utf8_owned(prog.finish_with_output().output);
-        let child_dir = Path::init(output.trim());
+        let child_dir = Path::new(output.trim());
 
         let parent_stat = parent_dir.stat();
         let child_stat = child_dir.stat();