Skip to content

Commit 7e806c5

Browse files
committed
Attempt to put out windows tinderbox.
1 parent ce72993 commit 7e806c5

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/comp/pretty/pprust.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,11 @@ fn print_item(&ps s, &@ast::item item) {
314314
print_fn(s, decl, ast::proto_fn, id, typarams);
315315
alt (lname) {
316316
case (none) { }
317-
case (some(?ss)) { print_string(s, ss); }
317+
case (some(?ss)) {
318+
space(s.s);
319+
word_space(s, "=");
320+
print_string(s, ss);
321+
}
318322
}
319323
end(s); // end head-ibox
320324

src/lib/win32_os.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ import str::sbuf;
33
import vec::vbuf;
44

55
native "cdecl" mod libc {
6-
fn open(sbuf s, int flags, uint mode) -> int"_open";
7-
fn read(int fd, vbuf buf, uint count) -> int"_read";
8-
fn write(int fd, vbuf buf, uint count) -> int"_write";
9-
fn close(int fd) -> int"_close";
6+
fn open(sbuf s, int flags, uint mode) -> int = "_open";
7+
fn read(int fd, vbuf buf, uint count) -> int = "_read";
8+
fn write(int fd, vbuf buf, uint count) -> int = "_write";
9+
fn close(int fd) -> int = "_close";
1010
type FILE;
1111
fn fopen(sbuf path, sbuf mode) -> FILE;
1212
fn _fdopen(int fd, sbuf mode) -> FILE;

0 commit comments

Comments
 (0)