1
Fork 0

Rollup merge of #136052 - no1wudi:fix, r=workingjubilee

Correct comment for FreeBSD and DragonFly BSD in unix/thread
This commit is contained in:
Matthias Krüger 2025-02-14 16:23:29 +01:00 committed by GitHub
commit 678ff2a59b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -144,7 +144,7 @@ impl Thread {
const TASK_COMM_LEN: usize = 16; const TASK_COMM_LEN: usize = 16;
let name = truncate_cstr::<{ TASK_COMM_LEN }>(name); let name = truncate_cstr::<{ TASK_COMM_LEN }>(name);
} else { } else {
// FreeBSD, DragonFly, FreeBSD and NuttX do not enforce length limits. // FreeBSD, DragonFly BSD and NuttX do not enforce length limits.
} }
}; };
// Available since glibc 2.12, musl 1.1.16, and uClibc 1.0.20 for Linux, // Available since glibc 2.12, musl 1.1.16, and uClibc 1.0.20 for Linux,