Skip to content

Commit 483bb81

Browse files
committed
Replace TODO with FIXME to make grep easy
1 parent 92ae2be commit 483bb81

File tree

17 files changed

+50
-50
lines changed

17 files changed

+50
-50
lines changed

ci/emscripten.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ exit 1
3030

3131
git clone https://github.com/emscripten-core/emsdk.git /emsdk-portable
3232
cd /emsdk-portable
33-
# TODO: switch to an upstream install once
33+
# FIXME: switch to an upstream install once
3434
# https://github.com/rust-lang/rust/pull/63649 lands
3535
hide_output ./emsdk install 1.38.42
3636
./emsdk activate 1.38.42

src/cloudabi/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ impl ::Clone for FILE {
120120
}
121121
}
122122
#[cfg_attr(feature = "extra_traits", derive(Debug))]
123-
pub enum fpos_t {} // TODO: fill this out with a struct
123+
pub enum fpos_t {} // FIXME: fill this out with a struct
124124
impl ::Copy for fpos_t {}
125125
impl ::Clone for fpos_t {
126126
fn clone(&self) -> fpos_t {

src/fuchsia/mod.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ impl ::Clone for DIR {
109109
}
110110

111111
#[cfg_attr(feature = "extra_traits", derive(Debug))]
112-
pub enum fpos64_t {} // TODO: fill this out with a struct
112+
pub enum fpos64_t {} // FIXME: fill this out with a struct
113113
impl ::Copy for fpos64_t {}
114114
impl ::Clone for fpos64_t {
115115
fn clone(&self) -> fpos64_t {
@@ -1416,7 +1416,7 @@ pub const F_SEAL_SHRINK: ::c_int = 0x0002;
14161416
pub const F_SEAL_GROW: ::c_int = 0x0004;
14171417
pub const F_SEAL_WRITE: ::c_int = 0x0008;
14181418

1419-
// TODO(#235): Include file sealing fcntls once we have a way to verify them.
1419+
// FIXME(#235): Include file sealing fcntls once we have a way to verify them.
14201420

14211421
pub const SIGTRAP: ::c_int = 5;
14221422

@@ -1433,7 +1433,7 @@ pub const CLOCK_MONOTONIC_COARSE: ::clockid_t = 6;
14331433
pub const CLOCK_BOOTTIME: ::clockid_t = 7;
14341434
pub const CLOCK_REALTIME_ALARM: ::clockid_t = 8;
14351435
pub const CLOCK_BOOTTIME_ALARM: ::clockid_t = 9;
1436-
// TODO(#247) Someday our Travis shall have glibc 2.21 (released in Sep
1436+
// FIXME(#247) Someday our Travis shall have glibc 2.21 (released in Sep
14371437
// 2014.) See also musl/mod.rs
14381438
// pub const CLOCK_SGI_CYCLE: ::clockid_t = 10;
14391439
// pub const CLOCK_TAI: ::clockid_t = 11;
@@ -2773,7 +2773,7 @@ pub const TIOCINQ: ::c_int = ::FIONREAD;
27732773
pub const RTLD_GLOBAL: ::c_int = 0x100;
27742774
pub const RTLD_NOLOAD: ::c_int = 0x4;
27752775

2776-
// TODO(#247) Temporarily musl-specific (available since musl 0.9.12 / Linux
2776+
// FIXME(#247) Temporarily musl-specific (available since musl 0.9.12 / Linux
27772777
// kernel 3.10). See also notbsd/mod.rs
27782778
pub const CLOCK_SGI_CYCLE: ::clockid_t = 10;
27792779
pub const CLOCK_TAI: ::clockid_t = 11;
@@ -3273,7 +3273,7 @@ impl ::Clone for FILE {
32733273
}
32743274
}
32753275
#[cfg_attr(feature = "extra_traits", derive(Debug))]
3276-
pub enum fpos_t {} // TODO: fill this out with a struct
3276+
pub enum fpos_t {} // FIXME: fill this out with a struct
32773277
impl ::Copy for fpos_t {}
32783278
impl ::Clone for fpos_t {
32793279
fn clone(&self) -> fpos_t {

src/unix/haiku/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ pub const LC_NUMERIC: ::c_int = 4;
662662
pub const LC_TIME: ::c_int = 5;
663663
pub const LC_MESSAGES: ::c_int = 6;
664664

665-
// TODO: Haiku does not have MAP_FILE, but libstd/os.rs requires it
665+
// FIXME: Haiku does not have MAP_FILE, but libstd/os.rs requires it
666666
pub const MAP_FILE: ::c_int = 0x00;
667667
pub const MAP_SHARED: ::c_int = 0x01;
668668
pub const MAP_PRIVATE: ::c_int = 0x02;
@@ -994,7 +994,7 @@ pub const PTHREAD_MUTEX_NORMAL: ::c_int = 1;
994994
pub const PTHREAD_MUTEX_ERRORCHECK: ::c_int = 2;
995995
pub const PTHREAD_MUTEX_RECURSIVE: ::c_int = 3;
996996

997-
pub const FIOCLEX: c_ulong = 0; // TODO: does not exist on Haiku!
997+
pub const FIOCLEX: c_ulong = 0; // FIXME: does not exist on Haiku!
998998

999999
pub const RUSAGE_CHILDREN: ::c_int = -1;
10001000

src/unix/linux_like/emscripten/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pub type c_ulong = u32;
3535
pub type nlink_t = u32;
3636

3737
#[cfg_attr(feature = "extra_traits", derive(Debug))]
38-
pub enum fpos64_t {} // TODO: fill this out with a struct
38+
pub enum fpos64_t {} // FIXME: fill this out with a struct
3939
impl ::Copy for fpos64_t {}
4040
impl ::Clone for fpos64_t {
4141
fn clone(&self) -> fpos64_t {
@@ -1286,7 +1286,7 @@ pub const TIOCINQ: ::c_int = ::FIONREAD;
12861286
pub const RTLD_GLOBAL: ::c_int = 0x100;
12871287
pub const RTLD_NOLOAD: ::c_int = 0x4;
12881288

1289-
// TODO(#247) Temporarily musl-specific (available since musl 0.9.12 / Linux
1289+
// FIXME(#247) Temporarily musl-specific (available since musl 0.9.12 / Linux
12901290
// kernel 3.10). See also linux_like/mod.rs
12911291
pub const CLOCK_SGI_CYCLE: ::clockid_t = 10;
12921292
pub const CLOCK_TAI: ::clockid_t = 11;

src/unix/linux_like/linux/gnu/b64/aarch64/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ pub const HWCAP_SSBS: ::c_ulong = 1 << 28;
695695
pub const HWCAP_SB: ::c_ulong = 1 << 29;
696696
pub const HWCAP_PACA: ::c_ulong = 1 << 30;
697697
pub const HWCAP_PACG: ::c_ulong = 1 << 31;
698-
// TODO: enable these again once linux-api-headers are up to date enough on CI.
698+
// FIXME: enable these again once linux-api-headers are up to date enough on CI.
699699
// See discussion in https://github.com/rust-lang/libc/pull/1638
700700
//pub const HWCAP2_DCPODP: ::c_ulong = 1 << 0;
701701
//pub const HWCAP2_SVE2: ::c_ulong = 1 << 1;

src/unix/linux_like/linux/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub type Elf32_Section = u16;
3737
pub type Elf64_Section = u16;
3838

3939
#[cfg_attr(feature = "extra_traits", derive(Debug))]
40-
pub enum fpos64_t {} // TODO: fill this out with a struct
40+
pub enum fpos64_t {} // FIXME: fill this out with a struct
4141
impl ::Copy for fpos64_t {}
4242
impl ::Clone for fpos64_t {
4343
fn clone(&self) -> fpos64_t {

src/unix/linux_like/linux/musl/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ pub const TCSAFLUSH: ::c_int = 2;
327327
pub const RTLD_GLOBAL: ::c_int = 0x100;
328328
pub const RTLD_NOLOAD: ::c_int = 0x4;
329329

330-
// TODO(#247) Temporarily musl-specific (available since musl 0.9.12 / Linux
330+
// FIXME(#247) Temporarily musl-specific (available since musl 0.9.12 / Linux
331331
// kernel 3.10). See also linux_like/mod.rs
332332
pub const CLOCK_SGI_CYCLE: ::clockid_t = 10;
333333
pub const CLOCK_TAI: ::clockid_t = 11;

src/unix/linux_like/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ pub const F_SEAL_SHRINK: ::c_int = 0x0002;
482482
pub const F_SEAL_GROW: ::c_int = 0x0004;
483483
pub const F_SEAL_WRITE: ::c_int = 0x0008;
484484

485-
// TODO(#235): Include file sealing fcntls once we have a way to verify them.
485+
// FIXME(#235): Include file sealing fcntls once we have a way to verify them.
486486

487487
pub const SIGTRAP: ::c_int = 5;
488488

@@ -499,7 +499,7 @@ pub const CLOCK_MONOTONIC_COARSE: ::clockid_t = 6;
499499
pub const CLOCK_BOOTTIME: ::clockid_t = 7;
500500
pub const CLOCK_REALTIME_ALARM: ::clockid_t = 8;
501501
pub const CLOCK_BOOTTIME_ALARM: ::clockid_t = 9;
502-
// TODO(#247) Someday our Travis shall have glibc 2.21 (released in Sep
502+
// FIXME(#247) Someday our Travis shall have glibc 2.21 (released in Sep
503503
// 2014.) See also musl/mod.rs
504504
// pub const CLOCK_SGI_CYCLE: ::clockid_t = 10;
505505
// pub const CLOCK_TAI: ::clockid_t = 11;

src/unix/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ impl ::Clone for FILE {
365365
}
366366
}
367367
#[cfg_attr(feature = "extra_traits", derive(Debug))]
368-
pub enum fpos_t {} // TODO: fill this out with a struct
368+
pub enum fpos_t {} // FIXME: fill this out with a struct
369369
impl ::Copy for fpos_t {}
370370
impl ::Clone for fpos_t {
371371
fn clone(&self) -> fpos_t {

src/unix/redox/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ pub const F_GETLK: ::c_int = 5;
258258
pub const F_SETLK: ::c_int = 6;
259259
pub const F_SETLKW: ::c_int = 7;
260260

261-
// TODO: relibc {
261+
// FIXME: relibc {
262262
pub const RTLD_DEFAULT: *mut ::c_void = 0i64 as *mut ::c_void;
263263
// }
264264

@@ -413,7 +413,7 @@ pub const F_GETFD: ::c_int = 1;
413413
pub const F_SETFD: ::c_int = 2;
414414
pub const F_GETFL: ::c_int = 3;
415415
pub const F_SETFL: ::c_int = 4;
416-
// TODO: relibc {
416+
// FIXME: relibc {
417417
pub const F_DUPFD_CLOEXEC: ::c_int = ::F_DUPFD;
418418
// }
419419
pub const FD_CLOEXEC: ::c_int = 0x0100_0000;
@@ -435,14 +435,14 @@ pub const O_DIRECTORY: ::c_int = 0x1000_0000;
435435
pub const O_PATH: ::c_int = 0x2000_0000;
436436
pub const O_SYMLINK: ::c_int = 0x4000_0000;
437437
// Negative to allow it to be used as int
438-
// TODO: Fix negative values missing from includes
438+
// FIXME: Fix negative values missing from includes
439439
pub const O_NOFOLLOW: ::c_int = -0x8000_0000;
440440

441441
// netdb.h
442442
pub const EAI_SYSTEM: ::c_int = -11;
443443

444444
// netinet/in.h
445-
// TODO: relibc {
445+
// FIXME: relibc {
446446
pub const IP_TTL: ::c_int = 2;
447447
pub const IPV6_UNICAST_HOPS: ::c_int = 16;
448448
pub const IPV6_MULTICAST_IF: ::c_int = 17;
@@ -460,7 +460,7 @@ pub const IP_DROP_MEMBERSHIP: ::c_int = 36;
460460

461461
// netinet/tcp.h
462462
pub const TCP_NODELAY: ::c_int = 1;
463-
// TODO: relibc {
463+
// FIXME: relibc {
464464
pub const TCP_KEEPIDLE: ::c_int = 1;
465465
// }
466466

@@ -575,7 +575,7 @@ pub const EXIT_SUCCESS: ::c_int = 0;
575575
pub const EXIT_FAILURE: ::c_int = 1;
576576

577577
// sys/ioctl.h
578-
// TODO: relibc {
578+
// FIXME: relibc {
579579
pub const FIONBIO: ::c_ulong = 0x5421;
580580
pub const FIOCLEX: ::c_ulong = 0x5451;
581581
// }

src/unix/uclibc/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub type nl_item = ::c_int;
2323
pub type idtype_t = ::c_uint;
2424

2525
#[cfg_attr(feature = "extra_traits", derive(Debug))]
26-
pub enum fpos64_t {} // TODO: fill this out with a struct
26+
pub enum fpos64_t {} // FIXME: fill this out with a struct
2727
impl ::Copy for fpos64_t {}
2828
impl ::Clone for fpos64_t {
2929
fn clone(&self) -> fpos64_t {
@@ -501,7 +501,7 @@ pub const F_GETLEASE: ::c_int = 1025;
501501
pub const F_NOTIFY: ::c_int = 1026;
502502
pub const F_DUPFD_CLOEXEC: ::c_int = 1030;
503503

504-
// TODO(#235): Include file sealing fcntls once we have a way to verify them.
504+
// FIXME(#235): Include file sealing fcntls once we have a way to verify them.
505505

506506
pub const SIGTRAP: ::c_int = 5;
507507

@@ -512,7 +512,7 @@ pub const CLOCK_REALTIME: ::clockid_t = 0;
512512
pub const CLOCK_MONOTONIC: ::clockid_t = 1;
513513
pub const CLOCK_PROCESS_CPUTIME_ID: ::clockid_t = 2;
514514
pub const CLOCK_THREAD_CPUTIME_ID: ::clockid_t = 3;
515-
// TODO(#247) Someday our Travis shall have glibc 2.21 (released in Sep
515+
// FIXME(#247) Someday our Travis shall have glibc 2.21 (released in Sep
516516
// 2014.) See also musl/mod.rs
517517
// pub const CLOCK_SGI_CYCLE: ::clockid_t = 10;
518518
// pub const CLOCK_TAI: ::clockid_t = 11;

src/unix/uclibc/x86_64/align.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ macro_rules! expand_align {
55
repr(align(4)))]
66
#[cfg_attr(target_pointer_width = "64",
77
repr(align(8)))]
8-
pub struct sem_t { // ToDo
8+
pub struct sem_t { // FIXME
99
#[cfg(target_pointer_width = "32")]
1010
__size: [::c_char; 16],
1111
#[cfg(target_pointer_width = "64")]
@@ -26,12 +26,12 @@ macro_rules! expand_align {
2626
target_arch = "s390x",
2727
target_arch = "sparc64")),
2828
repr(align(8)))]
29-
pub struct pthread_mutexattr_t { // ToDo
29+
pub struct pthread_mutexattr_t { // FIXME
3030
size: [u8; ::__SIZEOF_PTHREAD_MUTEXATTR_T],
3131
}
3232

3333
#[repr(align(4))]
34-
pub struct pthread_condattr_t { // ToDo
34+
pub struct pthread_condattr_t { // FIXME
3535
size: [u8; ::__SIZEOF_PTHREAD_CONDATTR_T],
3636
}
3737
}
@@ -48,13 +48,13 @@ macro_rules! expand_align {
4848
target_arch = "powerpc")))),
4949
repr(align(8)))]
5050
#[allow(missing_debug_implementations)]
51-
pub struct pthread_mutex_t { // ToDo
51+
pub struct pthread_mutex_t { // FIXME
5252
size: [u8; ::__SIZEOF_PTHREAD_MUTEX_T],
5353
}
5454

5555
#[repr(align(8))]
5656
#[allow(missing_debug_implementations)]
57-
pub struct pthread_cond_t { // ToDo
57+
pub struct pthread_cond_t { // FIXME
5858
size: [u8; ::__SIZEOF_PTHREAD_COND_T],
5959
}
6060

@@ -69,7 +69,7 @@ macro_rules! expand_align {
6969
target_arch = "powerpc"))),
7070
repr(align(8)))]
7171
#[allow(missing_debug_implementations)]
72-
pub struct pthread_rwlock_t { // ToDo
72+
pub struct pthread_rwlock_t { // FIXME
7373
size: [u8; ::__SIZEOF_PTHREAD_RWLOCK_T],
7474
}
7575
}

src/unix/uclibc/x86_64/mod.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,13 @@ s! {
147147
pub sa_mask: ::sigset_t,
148148
}
149149

150-
pub struct stack_t { // ToDo
150+
pub struct stack_t { // FIXME
151151
pub ss_sp: *mut ::c_void,
152152
pub ss_flags: ::c_int,
153153
pub ss_size: ::size_t
154154
}
155155

156-
pub struct statfs { // ToDo
156+
pub struct statfs { // FIXME
157157
pub f_type: fsword_t,
158158
pub f_bsize: fsword_t,
159159
pub f_blocks: ::fsblkcnt_t,
@@ -167,7 +167,7 @@ s! {
167167
f_spare: [fsword_t; 5],
168168
}
169169

170-
pub struct msghdr { // ToDo
170+
pub struct msghdr { // FIXME
171171
pub msg_name: *mut ::c_void,
172172
pub msg_namelen: ::socklen_t,
173173
pub msg_iov: *mut ::iovec,
@@ -177,7 +177,7 @@ s! {
177177
pub msg_flags: ::c_int,
178178
}
179179

180-
pub struct termios { // ToDo
180+
pub struct termios { // FIXME
181181
pub c_iflag: ::tcflag_t,
182182
pub c_oflag: ::tcflag_t,
183183
pub c_cflag: ::tcflag_t,
@@ -186,11 +186,11 @@ s! {
186186
pub c_cc: [::cc_t; ::NCCS],
187187
}
188188

189-
pub struct sigset_t { // ToDo
189+
pub struct sigset_t { // FIXME
190190
__val: [::c_ulong; 16],
191191
}
192192

193-
pub struct sysinfo { // ToDo
193+
pub struct sysinfo { // FIXME
194194
pub uptime: ::c_long,
195195
pub loads: [::c_ulong; 3],
196196
pub totalram: ::c_ulong,
@@ -207,7 +207,7 @@ s! {
207207
pub _f: [::c_char; 0],
208208
}
209209

210-
pub struct glob_t { // ToDo
210+
pub struct glob_t { // FIXME
211211
pub gl_pathc: ::size_t,
212212
pub gl_pathv: *mut *mut c_char,
213213
pub gl_offs: ::size_t,
@@ -219,19 +219,19 @@ s! {
219219
__unused5: *mut ::c_void,
220220
}
221221

222-
pub struct rlimit64 { // ToDo
222+
pub struct rlimit64 { // FIXME
223223
pub rlim_cur: rlim64_t,
224224
pub rlim_max: rlim64_t,
225225
}
226226

227-
pub struct cpu_set_t { // ToDo
227+
pub struct cpu_set_t { // FIXME
228228
#[cfg(target_pointer_width = "32")]
229229
bits: [u32; 32],
230230
#[cfg(target_pointer_width = "64")]
231231
bits: [u64; 16],
232232
}
233233

234-
pub struct fsid_t { // ToDo
234+
pub struct fsid_t { // FIXME
235235
__val: [::c_int; 2],
236236
}
237237
}

0 commit comments

Comments
 (0)