Skip to content

Commit fc2971b

Browse files
committed
---
yaml --- r: 39775 b: refs/heads/incoming c: 90a0dd4 h: refs/heads/master i: 39773: f6ea887 39771: bee3594 39767: 161b191 39759: 077a785 39743: b00836d v: v3
1 parent 3f88819 commit fc2971b

File tree

9 files changed

+19
-18
lines changed

9 files changed

+19
-18
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: 3d5418789064fdb463e872a4e651af1c628a3650
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278
9-
refs/heads/incoming: 603e13cc02cd262f8612676f124edc986bf9caa9
9+
refs/heads/incoming: 90a0dd400861e296e9440e94ceac9b1d90513ca8
1010
refs/heads/dist-snap: 22efa39382d41b084fde1719df7ae8ce5697d8c9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/src/libcore/gc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ pub fn cleanup_stack_for_failure() {
344344
roots.insert(*root, ());
345345

346346
if ptr::is_null(tydesc) {
347-
// XXX: Destroy this box
347+
// FIXME #4420: Destroy this box
348348
} else {
349349
rustrt::rust_call_tydesc_glue(*root, tydesc, 3 as size_t);
350350
}

branches/incoming/src/libcore/pipes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ pub type Packet<T: Owned> = {
202202

203203
#[doc(hidden)]
204204
pub trait HasBuffer {
205-
// XXX This should not have a trailing underscore
205+
// FIXME #4421: This should not have a trailing underscore
206206
fn set_buffer_(b: *libc::c_void);
207207
}
208208

branches/incoming/src/libcore/private.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ pub unsafe fn chan_from_global_ptr<T: Owned>(
8383
let (setup1_po, setup1_ch) = pipes::stream();
8484
let (setup2_po, setup2_ch) = pipes::stream();
8585
86-
// XXX: Ugly type inference hints
87-
let setup1_po: pipes::Port<oldcomm::Chan<T>> = setup1_po;
86+
// FIXME #4422: Ugly type inference hint
8887
let setup2_po: pipes::Port<Msg> = setup2_po;
8988
9089
do task_fn().spawn |move f, move setup1_ch, move setup2_po| {

branches/incoming/src/libcore/repr.rs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ impl Writer : EscapedCharWriter {
6060
'"' => self.write_str("\\\""),
6161
'\x20'..'\x7e' => self.write_char(ch),
6262
_ => {
63-
// XXX: This is inefficient because it requires a malloc.
63+
// FIXME #4423: This is inefficient because it requires a
64+
// malloc.
6465
self.write_str(char::escape_unicode(ch))
6566
}
6667
}
@@ -96,7 +97,7 @@ impl i32 : Repr {
9697
fn write_repr(writer: @Writer) { writer.write_int(self as int); }
9798
}
9899
impl i64 : Repr {
99-
// XXX: This can lose precision.
100+
// FIXME #4424: This can lose precision.
100101
fn write_repr(writer: @Writer) { writer.write_int(self as int); }
101102
}
102103

@@ -113,20 +114,20 @@ impl u32 : Repr {
113114
fn write_repr(writer: @Writer) { writer.write_uint(self as uint); }
114115
}
115116
impl u64 : Repr {
116-
// XXX: This can lose precision.
117+
// FIXME #4424: This can lose precision.
117118
fn write_repr(writer: @Writer) { writer.write_uint(self as uint); }
118119
}
119120

120121
impl float : Repr {
121-
// XXX: This mallocs.
122+
// FIXME #4423: This mallocs.
122123
fn write_repr(writer: @Writer) { writer.write_str(self.to_str()); }
123124
}
124125
impl f32 : Repr {
125-
// XXX: This mallocs.
126+
// FIXME #4423 This mallocs.
126127
fn write_repr(writer: @Writer) { writer.write_str(self.to_str()); }
127128
}
128129
impl f64 : Repr {
129-
// XXX: This mallocs.
130+
// FIXME #4423: This mallocs.
130131
fn write_repr(writer: @Writer) { writer.write_str(self.to_str()); }
131132
}
132133

branches/incoming/src/libcore/stackwalk.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
#[legacy_modes]; // tjc: remove after snapshot
1414

1515
// NB: transitionary, de-mode-ing.
16-
// XXX: Can't forbid this because frame_address needs a deprecated mode.
16+
// FIXME #4425: Can't forbid this because frame_address needs a deprecated
17+
// mode.
1718
#[allow(deprecated_mode)];
1819
#[forbid(deprecated_pattern)];
1920

branches/incoming/src/libcore/sys.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ pub pure fn begin_unwind(msg: ~str, file: ~str, line: uint) -> ! {
134134
}
135135
}
136136

137-
// XXX: Temorary until rt::rt_fail_ goes away
137+
// FIXME #4427: Temporary until rt::rt_fail_ goes away
138138
pub pure fn begin_unwind_(msg: *c_char, file: *c_char, line: size_t) -> ! {
139139
unsafe {
140140
gc::cleanup_stack_for_failure();

branches/incoming/src/libcore/task/spawn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ pub fn spawn_raw(opts: TaskOpts, f: fn~()) {
592592
}
593593

594594
// Run the box annihilator.
595-
// XXX: Crashy.
595+
// FIXME #4428: Crashy.
596596
// unsafe { cleanup::annihilate(); }
597597
};
598598

branches/incoming/src/libcore/vec.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ pub fn pop<T>(v: &mut ~[T]) -> T {
563563
}
564564
let valptr = ptr::to_mut_unsafe_ptr(&mut v[ln - 1u]);
565565
unsafe {
566-
// XXX: Should be rusti::uninit() - we don't need this zeroed
566+
// FIXME #4204: Should be rusti::uninit() - we don't need this zeroed
567567
let mut val = rusti::init();
568568
val <-> *valptr;
569569
raw::set_len(v, ln - 1u);
@@ -636,7 +636,7 @@ pub fn push_all_move<T>(v: &mut ~[T], rhs: ~[T]) {
636636
unsafe {
637637
do as_mut_buf(rhs) |p, len| {
638638
for uint::range(0, len) |i| {
639-
// XXX Should be rusti::uninit() - don't need to zero
639+
// FIXME #4204 Should be rusti::uninit() - don't need to zero
640640
let mut x = rusti::init();
641641
x <-> *ptr::mut_offset(p, i);
642642
push(v, x);
@@ -653,7 +653,7 @@ pub fn truncate<T>(v: &mut ~[T], newlen: uint) {
653653
unsafe {
654654
// This loop is optimized out for non-drop types.
655655
for uint::range(newlen, oldlen) |i| {
656-
// XXX Should be rusti::uninit() - don't need to zero
656+
// FIXME #4204 Should be rusti::uninit() - don't need to zero
657657
let mut dropped = rusti::init();
658658
dropped <-> *ptr::mut_offset(p, i);
659659
}
@@ -678,7 +678,7 @@ pub fn dedup<T: Eq>(v: &mut ~[T]) unsafe {
678678
// last_written < next_to_read < ln
679679
if *ptr::mut_offset(p, next_to_read) ==
680680
*ptr::mut_offset(p, last_written) {
681-
// XXX Should be rusti::uninit() - don't need to zero
681+
// FIXME #4204 Should be rusti::uninit() - don't need to zero
682682
let mut dropped = rusti::init();
683683
dropped <-> *ptr::mut_offset(p, next_to_read);
684684
} else {

0 commit comments

Comments
 (0)