1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

Move util.rs to common

This commit is contained in:
Alan Andrade 2014-02-23 14:17:48 -08:00
parent 26c5d7e245
commit de21ff4c2f
18 changed files with 17 additions and 17 deletions

View file

@ -28,7 +28,7 @@ use getopts::{
use serialize::base64;
use serialize::base64::{FromBase64, ToBase64};
#[path = "../util.rs"]
#[path = "../common/util.rs"]
mod util;
static NAME: &'static str = "base64";

View file

@ -18,7 +18,7 @@ use std::os;
use std::str;
use std::str::StrSlice;
#[path = "../util.rs"]
#[path = "../common/util.rs"]
mod util;
static NAME: &'static str = "basename";

View file

@ -23,7 +23,7 @@ use std::path::Path;
use time::Timespec;
use sync::{Arc, Future};
#[path = "../util.rs"]
#[path = "../common/util.rs"]
mod util;
static NAME: &'static str = "du";

View file

@ -17,7 +17,7 @@ use std::os;
use std::io::{print, println};
use std::uint;
#[path = "../util.rs"]
#[path = "../common/util.rs"]
mod util;
static NAME: &'static str = "echo";

View file

@ -18,7 +18,7 @@ use std::os;
use std::io::fs;
use std::num::strconv;
#[path = "../util.rs"]
#[path = "../common/util.rs"]
mod util;
static NAME: &'static str = "mkdir";

View file

@ -19,7 +19,7 @@ extern crate getopts;
use std::os;
use std::io::print;
#[path = "../util.rs"]
#[path = "../common/util.rs"]
mod util;
static NAME: &'static str = "printenv";

View file

@ -17,7 +17,7 @@ extern crate getopts;
use std::os;
use std::io::print;
#[path = "../util.rs"]
#[path = "../common/util.rs"]
mod util;
static NAME: &'static str = "pwd";

View file

@ -17,7 +17,7 @@ extern crate getopts;
use std::os;
use std::io::{print, stdin, stdio, fs, BufferedReader};
#[path = "../util.rs"]
#[path = "../common/util.rs"]
mod util;
#[deriving(Eq)]

View file

@ -17,7 +17,7 @@ extern crate getopts;
use std::os;
use std::io::{print, fs};
#[path = "../util.rs"]
#[path = "../common/util.rs"]
mod util;
static NAME: &'static str = "rmdir";

View file

@ -11,7 +11,7 @@ extern crate getopts;
use std::os;
use std::cmp::max;
#[path = "../util.rs"]
#[path = "../common/util.rs"]
mod util;
static NAME: &'static str = "seq";

View file

@ -19,7 +19,7 @@ use std::cast;
use std::os;
use std::io::{print, timer};
#[path = "../util.rs"]
#[path = "../common/util.rs"]
mod util;
static NAME: &'static str = "sleep";

View file

@ -18,7 +18,7 @@ use std::io::{File, Open, ReadWrite, fs};
use std::os;
use std::u64;
#[path = "../util.rs"]
#[path = "../common/util.rs"]
mod util;
macro_rules! get_file_size(

View file

@ -24,7 +24,7 @@ use std::io::println;
use std::io::stdio::stderr;
use getopts::{optflag,getopts};
#[path = "../util.rs"]
#[path = "../common/util.rs"]
mod util;
extern {

View file

@ -27,7 +27,7 @@ use std::ptr;
use std::str;
use utmpx::*;
#[path = "../util.rs"]
#[path = "../common/util.rs"]
mod util;
#[cfg(target_os = "linux")]

View file

@ -19,7 +19,7 @@ use std::str::from_utf8;
use std::io::{print, stdin, File, BufferedReader};
use getopts::Matches;
#[path = "../util.rs"]
#[path = "../common/util.rs"]
mod util;
struct Result {

View file

@ -23,7 +23,7 @@ use std::os;
use std::str;
use std::libc;
#[path = "../util.rs"]
#[path = "../common/util.rs"]
mod util;
struct c_passwd {

View file

@ -19,7 +19,7 @@ extern crate getopts;
use std::os;
use std::io::{print, println};
#[path = "../util.rs"]
#[path = "../common/util.rs"]
mod util;
static NAME: &'static str = "yes";