Attempt to put out windows tinderbox.
This commit is contained in:
parent
ce72993488
commit
7e806c5e87
@ -314,7 +314,11 @@ fn print_item(&ps s, &@ast::item item) {
|
||||
print_fn(s, decl, ast::proto_fn, id, typarams);
|
||||
alt (lname) {
|
||||
case (none) { }
|
||||
case (some(?ss)) { print_string(s, ss); }
|
||||
case (some(?ss)) {
|
||||
space(s.s);
|
||||
word_space(s, "=");
|
||||
print_string(s, ss);
|
||||
}
|
||||
}
|
||||
end(s); // end head-ibox
|
||||
|
||||
|
@ -3,10 +3,10 @@ import str::sbuf;
|
||||
import vec::vbuf;
|
||||
|
||||
native "cdecl" mod libc {
|
||||
fn open(sbuf s, int flags, uint mode) -> int"_open";
|
||||
fn read(int fd, vbuf buf, uint count) -> int"_read";
|
||||
fn write(int fd, vbuf buf, uint count) -> int"_write";
|
||||
fn close(int fd) -> int"_close";
|
||||
fn open(sbuf s, int flags, uint mode) -> int = "_open";
|
||||
fn read(int fd, vbuf buf, uint count) -> int = "_read";
|
||||
fn write(int fd, vbuf buf, uint count) -> int = "_write";
|
||||
fn close(int fd) -> int = "_close";
|
||||
type FILE;
|
||||
fn fopen(sbuf path, sbuf mode) -> FILE;
|
||||
fn _fdopen(int fd, sbuf mode) -> FILE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user