File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -2321,11 +2321,13 @@ CF_EXPORT int _CFPosixSpawnFileActionsChdir(_CFPosixSpawnFileActionsRef file_act
2321
2321
// Glibc versions prior to 2.29 don't support posix_spawn_file_actions_addchdir_np, impacting:
2322
2322
// - Amazon Linux 2 (EoL mid-2025)
2323
2323
return ENOSYS ;
2324
- #elif defined(__OpenBSD__ ) || defined(__QNX__ ) || (defined(__ANDROID__ ) && __ANDROID_API__ < 34 )
2324
+ #elif defined(__ANDROID__ ) && __ANDROID_API__ < 34
2325
+ // Android versions prior to 14 (API level 34) don't support posix_spawn_file_actions_addchdir_np
2326
+ return ENOSYS ;
2327
+ #elif defined(__OpenBSD__ ) || defined(__QNX__ )
2325
2328
// Currently missing as of:
2326
2329
// - OpenBSD 7.5 (April 2024)
2327
2330
// - QNX 8 (December 2023)
2328
- // - Android 13
2329
2331
return ENOSYS ;
2330
2332
#elif defined(__GLIBC__ ) || TARGET_OS_DARWIN || defined(__FreeBSD__ ) || defined(__ANDROID__ ) || defined(__musl__ )
2331
2333
// Pre-standard posix_spawn_file_actions_addchdir_np version available in:
Original file line number Diff line number Diff line change @@ -772,7 +772,9 @@ struct PrintCommand {
772
772
let description = number. description
773
773
result. append ( " \( description) \n " )
774
774
} else {
775
- throw PLUContextError . argument ( " Unknown property list type " )
775
+ // Use a generic description
776
+ result. append ( String ( describing: value) )
777
+ result. append ( " \n " )
776
778
}
777
779
return result
778
780
}
You can’t perform that action at this time.
0 commit comments