-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Apple mobile: System.Diagnostics.Process.dll has P/Invoke to SystemNative_IsATty which doesn't exist #126299
Copy link
Copy link
Open
Labels
area-System.Diagnostics.Processos-iosApple iOSApple iOSos-maccatalystMacCatalyst OSMacCatalyst OSos-tvosApple tvOSApple tvOSuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
Milestone
Description
The System.Diagnostics.Process.dll as a P/Invoke to SystemNative_IsATty, but that method is not provided by libSystem.Native.dylib (or the .a variant).
$ monodis dotnet-sdk-11.0.100-preview.3.26179.101/packs/Microsoft.NETCore.App.Runtime.Mono.maccatalyst-arm64/11.0.0-preview.3.26179.101/runtimes/maccatalyst-arm64/lib/net11.0/System.Diagnostics.Process.dll | grep -i SystemNative_IsATty
// method line 57
.method assembly static hidebysig pinvokeimpl ("libSystem.Native" as "SystemNative_IsATty" winapi nomangle )
default int32 '<IsATty>g____PInvoke|64_0' (native int __fd_native) cil managed preservesig
{
$ nm dotnet-sdk-11.0.100-preview.3.26179.101/packs/Microsoft.NETCore.App.Runtime.Mono.maccatalyst-arm64/11.0.0-preview.3.26179.101/runtimes/maccatalyst-arm64/native/libSystem.Native.dylib|grep SystemNative_IsATty
[no output]
This happens for iOS, Mac Catalyst and tvOS.
It started happening in this maestro bump: dotnet/macios#25013
A quick look reveals a317e0f CC @adamsitnik
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-System.Diagnostics.Processos-iosApple iOSApple iOSos-maccatalystMacCatalyst OSMacCatalyst OSos-tvosApple tvOSApple tvOSuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
Type
Projects
Status
No status