Skip to content

Commit 1649785

Browse files
authored
Merge pull request #4078 from tgross35/posix-spawn-diff-indicators
[0.2] Add diff indicators for POSIX_SPAWN_* type change
2 parents 47467fc + c55dfcf commit 1649785

File tree

7 files changed

+8
-0
lines changed

7 files changed

+8
-0
lines changed

src/unix/aix/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,6 +1253,7 @@ pub const ENTER: ::c_int = 1;
12531253
pub const SEM_FAILED: *mut sem_t = -1isize as *mut ::sem_t;
12541254

12551255
// spawn.h
1256+
// DIFF(main): changed to `c_short` in f62eb023ab
12561257
pub const POSIX_SPAWN_SETPGROUP: ::c_int = 0x1;
12571258
pub const POSIX_SPAWN_SETSIGMASK: ::c_int = 0x2;
12581259
pub const POSIX_SPAWN_SETSIGDEF: ::c_int = 0x4;

src/unix/bsd/apple/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5116,6 +5116,7 @@ pub const MNT_SNAPSHOT: ::c_int = 0x40000000;
51165116
pub const MNT_NOBLOCK: ::c_int = 0x00020000;
51175117

51185118
// sys/spawn.h:
5119+
// DIFF(main): changed to `c_short` in f62eb023ab
51195120
pub const POSIX_SPAWN_RESETIDS: ::c_int = 0x0001;
51205121
pub const POSIX_SPAWN_SETPGROUP: ::c_int = 0x0002;
51215122
pub const POSIX_SPAWN_SETSIGDEF: ::c_int = 0x0004;

src/unix/bsd/freebsdlike/freebsd/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3985,6 +3985,7 @@ pub const RTP_PRIO_REALTIME: ::c_ushort = 2;
39853985
pub const RTP_PRIO_NORMAL: ::c_ushort = 3;
39863986
pub const RTP_PRIO_IDLE: ::c_ushort = 4;
39873987

3988+
// DIFF(main): changed to `c_short` in f62eb023ab
39883989
pub const POSIX_SPAWN_RESETIDS: ::c_int = 0x01;
39893990
pub const POSIX_SPAWN_SETPGROUP: ::c_int = 0x02;
39903991
pub const POSIX_SPAWN_SETSCHEDPARAM: ::c_int = 0x04;

src/unix/bsd/netbsdlike/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ pub const POSIX_MADV_SEQUENTIAL: ::c_int = 2;
369369
pub const POSIX_MADV_WILLNEED: ::c_int = 3;
370370
pub const POSIX_MADV_DONTNEED: ::c_int = 4;
371371

372+
// DIFF(main): changed to `c_short` in f62eb023ab
372373
pub const POSIX_SPAWN_RESETIDS: ::c_int = 0x01;
373374
pub const POSIX_SPAWN_SETPGROUP: ::c_int = 0x02;
374375
pub const POSIX_SPAWN_SETSCHEDPARAM: ::c_int = 0x04;

src/unix/haiku/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,6 +1100,7 @@ pub const SA_ONESHOT: ::c_int = SA_RESETHAND;
11001100
pub const SS_ONSTACK: ::c_int = 0x1;
11011101
pub const SS_DISABLE: ::c_int = 0x2;
11021102

1103+
// DIFF(main): changed to `c_int` in 500365e1
11031104
pub const FD_SETSIZE: usize = 1024;
11041105

11051106
pub const RTLD_LOCAL: ::c_int = 0x0;
@@ -1550,6 +1551,7 @@ pub const LOG_PERROR: ::c_int = 32 << 12;
15501551
pub const LOG_NOWAIT: ::c_int = 64 << 12;
15511552

15521553
// spawn.h
1554+
// DIFF(main): changed to `c_short` in f62eb023ab
15531555
pub const POSIX_SPAWN_RESETIDS: ::c_int = 0x01;
15541556
pub const POSIX_SPAWN_SETPGROUP: ::c_int = 0x02;
15551557
pub const POSIX_SPAWN_SETSIGDEF: ::c_int = 0x10;

src/unix/linux_like/linux/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3036,6 +3036,7 @@ pub const ETH_P_PHONET: ::c_int = 0x00F5;
30363036
pub const ETH_P_IEEE802154: ::c_int = 0x00F6;
30373037
pub const ETH_P_CAIF: ::c_int = 0x00F7;
30383038

3039+
// DIFF(main): changed to `c_short` in f62eb023ab
30393040
pub const POSIX_SPAWN_RESETIDS: ::c_int = 0x01;
30403041
pub const POSIX_SPAWN_SETPGROUP: ::c_int = 0x02;
30413042
pub const POSIX_SPAWN_SETSIGDEF: ::c_int = 0x04;

src/unix/nto/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1609,6 +1609,7 @@ pub const ITIMER_REAL: ::c_int = 0;
16091609
pub const ITIMER_VIRTUAL: ::c_int = 1;
16101610
pub const ITIMER_PROF: ::c_int = 2;
16111611

1612+
// DIFF(main): changed to `c_short` in f62eb023ab
16121613
pub const POSIX_SPAWN_RESETIDS: ::c_int = 0x00000010;
16131614
pub const POSIX_SPAWN_SETPGROUP: ::c_int = 0x00000001;
16141615
pub const POSIX_SPAWN_SETSIGDEF: ::c_int = 0x00000004;

0 commit comments

Comments
 (0)