1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/ext
Jakub Jirutka 3436f65e20
fix(ext/node): remove unnecessary and incorrect type priority_t (#20276)
`getpriority` and `setpriority` on musl libc accepts `int` / `c_int` /
`i32` as the first argument, not `u32`.

Since the `PRIO_PROCESS` constant is imported from the same crate (libc)
as the `getpriority` and `setpriority` functions, this type cast seems
to be completely unnecessary here.

It was introduced in aa8078b688 by
@crowlKats.

Relevant sources:

-
835661543d/src/unix/linux_like/linux/musl/mod.rs (L739-L740)
- https://git.musl-libc.org/cgit/musl/tree/src/misc/setpriority.c
- https://git.musl-libc.org/cgit/musl/tree/src/misc/getpriority.c

Co-authored-by: Aapo Alasuutari <aapo.alasuutari@gmail.com>
2023-09-01 11:21:23 +02:00
..
broadcast_channel chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00
cache chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00
console chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00
crypto fix(ext/crypto): remove EdDSA alg key checks and export (#20331) 2023-08-31 18:26:26 +05:30
fetch chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00
ffi chore: update to Rust 1.72 (#20258) 2023-08-26 22:04:12 -06:00
fs chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00
http fix(ext/http): don't panic on stream responses in cancelled requests (#20316) 2023-08-28 13:29:34 -06:00
io chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00
kv fix(ext/kv): don't panic if listening on queues and KV is not closed (#20317) 2023-08-29 11:24:44 -07:00
napi chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00
net fix(network): adjust Listener type params (#18642) 2023-08-27 20:55:04 +00:00
node fix(ext/node): remove unnecessary and incorrect type priority_t (#20276) 2023-09-01 11:21:23 +02:00
tls fix(ext/tls): upgrade webpki version (#20285) 2023-08-25 23:40:25 +02:00
url chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00
web chore: update to Rust 1.72 (#20258) 2023-08-26 22:04:12 -06:00
webidl chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00
websocket chore: update to Rust 1.72 (#20258) 2023-08-26 22:04:12 -06:00
webstorage chore: forward v1.36.3 release commit to main (#20270) 2023-08-24 17:53:01 +00:00