Attempt to put out windows tinderbox.

This commit is contained in:
Graydon Hoare 2011-06-15 11:39:31 -07:00
parent ce72993488
commit 7e806c5e87
2 changed files with 9 additions and 5 deletions

View File

@ -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

View File

@ -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;