diff options
| author | Salem Talha <salem.a.talha@gmail.com> | 2014-01-26 03:43:42 -0500 |
|---|---|---|
| committer | Salem Talha <salem.a.talha@gmail.com> | 2014-01-26 14:42:53 -0500 |
| commit | cc61fc09945aeec6fc71a07e91b8610fa71f6425 (patch) | |
| tree | 28b2a4a2742d0f8fa29c19bca7b6f35f441a7a2a /src/libnative | |
| parent | 838b5a4cc072057f31453cdd1b50345f92e1a772 (diff) | |
| download | rust-cc61fc09945aeec6fc71a07e91b8610fa71f6425.tar.gz rust-cc61fc09945aeec6fc71a07e91b8610fa71f6425.zip | |
Removed all instances of XXX in preparation for relaxing of FIXME rule
Diffstat (limited to 'src/libnative')
| -rw-r--r-- | src/libnative/io/file.rs | 6 | ||||
| -rw-r--r-- | src/libnative/io/mod.rs | 2 | ||||
| -rw-r--r-- | src/libnative/io/timer_timerfd.rs | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/libnative/io/file.rs b/src/libnative/io/file.rs index af06533d44b..53386433d53 100644 --- a/src/libnative/io/file.rs +++ b/src/libnative/io/file.rs @@ -674,7 +674,7 @@ pub fn chown(p: &CString, uid: int, gid: int) -> IoResult<()> { pub fn readlink(p: &CString) -> IoResult<Path> { return os_readlink(p); - // XXX: I have a feeling that this reads intermediate symlinks as well. + // FIXME: I have a feeling that this reads intermediate symlinks as well. #[cfg(windows)] fn os_readlink(p: &CString) -> IoResult<Path> { let handle = unsafe { @@ -709,7 +709,7 @@ pub fn readlink(p: &CString) -> IoResult<Path> { let p = p.with_ref(|p| p); let mut len = unsafe { libc::pathconf(p, libc::_PC_NAME_MAX) }; if len == -1 { - len = 1024; // XXX: read PATH_MAX from C ffi? + len = 1024; // FIXME: read PATH_MAX from C ffi? } let mut buf = vec::with_capacity::<u8>(len as uint); match retry(|| unsafe { @@ -877,7 +877,7 @@ pub fn stat(p: &CString) -> IoResult<io::FileStat> { pub fn lstat(p: &CString) -> IoResult<io::FileStat> { return os_lstat(p); - // XXX: windows implementation is missing + // FIXME: windows implementation is missing #[cfg(windows)] fn os_lstat(_p: &CString) -> IoResult<io::FileStat> { Err(super::unimpl()) diff --git a/src/libnative/io/mod.rs b/src/libnative/io/mod.rs index 00f4a0c099d..c94554f510e 100644 --- a/src/libnative/io/mod.rs +++ b/src/libnative/io/mod.rs @@ -97,7 +97,7 @@ fn translate_error(errno: i32, detail: bool) -> IoError { #[cfg(not(windows))] fn get_err(errno: i32) -> (io::IoErrorKind, &'static str) { - // XXX: this should probably be a bit more descriptive... + // FIXME: this should probably be a bit more descriptive... match errno { libc::EOF => (io::EndOfFile, "end of file"), libc::ECONNREFUSED => (io::ConnectionRefused, "connection refused"), diff --git a/src/libnative/io/timer_timerfd.rs b/src/libnative/io/timer_timerfd.rs index 0556b0c2599..2bcaf4d5c7c 100644 --- a/src/libnative/io/timer_timerfd.rs +++ b/src/libnative/io/timer_timerfd.rs @@ -104,7 +104,7 @@ fn helper(input: libc::c_int, messages: Port<Req>) { let mut bits = [0, ..8]; // drain the timerfd of how many times its fired // - // XXX: should this perform a send() this number of + // FIXME: should this perform a send() this number of // times? FileDesc::new(fd, false).inner_read(bits); let remove = { |
