浏览代码

Changed FILE to use a vector as a buffer instead of raw pointers. This allows us to remove the large majority of unsafe blocks from the code

Tom Almeida 6 年之前
父节点
当前提交
57f7de1e6d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/stdio/src/lib.rs

+ 1 - 0
src/stdio/src/lib.rs

@@ -1,6 +1,7 @@
 //! stdio implementation for Redox, following http://pubs.opengroup.org/onlinepubs/7908799/xsh/stdio.h.html
 
 #![no_std]
+// For Vec
 #![feature(alloc)]
 #![feature(const_fn)]