about summary refs log tree commit diff
path: root/src/compiletest
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2011-10-10 15:16:55 -0700
committerBrian Anderson <banderson@mozilla.com>2011-10-12 16:33:06 -0700
commit85da98db4ae228f8b3d1b1ebf702b0fea99bd7e6 (patch)
treeffb141dc35ef1d93eebe1800a9322c5d55361898 /src/compiletest
parentf2cd33df72cfe9648b668d8822a785dc81bee908 (diff)
continue to annotate functions as unsafe where neccessary
Diffstat (limited to 'src/compiletest')
-rw-r--r--src/compiletest/procsrv.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiletest/procsrv.rs b/src/compiletest/procsrv.rs
index 1563e3112ca..6a74d044bfb 100644
--- a/src/compiletest/procsrv.rs
+++ b/src/compiletest/procsrv.rs
@@ -70,7 +70,7 @@ fn run(handle: handle, lib_path: str, prog: str, args: [str],
     ret {status: status, out: output, err: errput};
 }
 
-fn writeclose(fd: int, s: option::t<str>) {
+fn writeclose(fd: int, s: option::t<str>) unsafe {
     if option::is_some(s) {
         let writer = io::new_writer(io::fd_buf_writer(fd, option::none));
         writer.write_str(option::get(s));