Remove commented-out code pt. 2

This commit is contained in:
Jonathan Flat committed 2025-10-29 12:01:13 -06:00
1 parent 4911642226
commit c2e385e849
2 files changed
-13

No files matched your search

-6
View File
@@ -663,12 +663,6 @@ internal var _AT_SYMLINK_NOFOLLOW_ANY: CInt { AT_SYMLINK_NOFOLLOW_ANY }
internal var _AT_RESOLVE_BENEATH: CInt { AT_RESOLVE_BENEATH }
#endif
// TODO: Re-enable when _GNU_SOURCE can be defined.
//#if os(FreeBSD) || os(Linux) || os(Android)
//@_alwaysEmitIntoClient
//internal var _AT_EMPTY_PATH: CInt { AT_EMPTY_PATH }
//#endif
// MARK: - File Mode / File Type
@_alwaysEmitIntoClient
-7
View File
@@ -400,13 +400,6 @@ private struct StatTests {
}
// TODO: Re-enable for testing when _GNU_SOURCE can be defined.
//#if !SYSTEM_PACKAGE_DARWIN && !os(WASI)
//private extension FileDescriptor.OpenOptions {
// static var path: Self { Self(rawValue: O_PATH) }
//}
//#endif
// Comparison operators for timespec until UTCClock.Instant properties are available
private func >= (lhs: timespec, rhs: timespec) -> Bool {
(lhs.tv_sec, lhs.tv_nsec) >= (rhs.tv_sec, rhs.tv_nsec)