Browse Source

These are some things I noticed while working in this tree:

- target/ was not in .gitignore
- src/libzt.rs is generated, put in .gitignore and deleted
- time_t was not defined; libc is a build dep so didn't want to bring it
  in for a type. Decided to just typedef it.

Signed-off-by: Erik Hollensbe <linux@hollensbe.org>
pull/8/head
Erik Hollensbe 5 years ago
parent
commit
2dd5f490c7
  1. 2
      pkg/crate/libzt/.gitignore
  2. 6872
      pkg/crate/libzt/src/libzt.rs
  3. 2
      pkg/crate/libzt/src/socket.rs

2
pkg/crate/libzt/.gitignore vendored

@ -0,0 +1,2 @@
target
src/libzt.rs

6872
pkg/crate/libzt/src/libzt.rs

File diff suppressed because it is too large Load Diff

2
pkg/crate/libzt/src/socket.rs

@ -19,6 +19,8 @@ use std::os::raw::c_int;
use std::time::Duration;
use std::{io, mem};
type time_t = i64;
use crate::utils::*;
// Note: FileDesc and c_int in libc are private so we can't use that. Use i32 instead

Loading…
Cancel
Save