You've already forked linux-packaging-mono
Imported Upstream version 6.12.0.140
Former-commit-id: ed640e59d63de60be89ee9bbe5a6b63afcf639f5
This commit is contained in:
parent
611f410153
commit
3cbb9c7924
@@ -41,7 +41,7 @@ static partial class Consts
|
||||
// Use these assembly version constants to make code more maintainable.
|
||||
//
|
||||
|
||||
public const string MonoVersion = "6.12.0.139";
|
||||
public const string MonoVersion = "6.12.0.140";
|
||||
public const string MonoCompany = "Mono development team";
|
||||
public const string MonoProduct = "Mono Common Language Infrastructure";
|
||||
public const string MonoCopyright = "(c) Various Mono authors";
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
corefx/Unix/Interop.cs
|
||||
corefx/Unix/Interop.Read.cs
|
||||
|
||||
../../../external/corefx/src/Common/src/Interop/Unix/*.cs
|
||||
|
||||
../../../external/corefx/src/Common/src/Interop/Unix/System.Net.Security.Native/Interop.NetSecurityNative.cs
|
||||
|
||||
@@ -19,3 +19,5 @@ Mono.Btls/MonoBtlsX509LookupAndroid.cs
|
||||
../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.Poll.cs
|
||||
../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.Open.cs
|
||||
../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.Close.cs
|
||||
|
||||
../corlib/corefx/Interop.ReadDir.Mono.cs
|
||||
|
||||
@@ -15,3 +15,5 @@
|
||||
../../../external/corefx/src/Common/src/Interop/Unix/System.Native/Interop.Close.cs
|
||||
../../../external/corefx/src/Common/src/System/Net/ContextAwareResult.Unix.cs
|
||||
Internal.Cryptography/OidLookup.Managed.cs
|
||||
|
||||
../corlib/corefx/Interop.ReadDir.Mono.cs
|
||||
|
||||
45
mcs/class/corlib/corefx/Interop.ReadDir.Mono.cs
Normal file
45
mcs/class/corlib/corefx/Interop.ReadDir.Mono.cs
Normal file
@@ -0,0 +1,45 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
internal static partial class Interop
|
||||
{
|
||||
internal static partial class Sys
|
||||
{
|
||||
[DllImport(Libraries.SystemNative, EntryPoint = "SystemNative_OpenDir", SetLastError = true)]
|
||||
internal static extern IntPtr OpenDir_native(string path);
|
||||
|
||||
[DllImport(Libraries.SystemNative, EntryPoint = "SystemNative_ReadDirR", SetLastError = false)]
|
||||
internal static extern unsafe int ReadDirR_native(IntPtr dir, byte* buffer, int bufferSize, out DirectoryEntry outputEntry);
|
||||
|
||||
[DllImport(Libraries.SystemNative, EntryPoint = "SystemNative_CloseDir", SetLastError = true)]
|
||||
internal static extern int CloseDir_native(IntPtr dir);
|
||||
|
||||
internal static IntPtr OpenDir (string path) {
|
||||
IntPtr result;
|
||||
do {
|
||||
result = OpenDir_native (path);
|
||||
} while (result == IntPtr.Zero && Marshal.GetLastWin32Error () == (int) Interop.Error.EINTR);
|
||||
return result;
|
||||
}
|
||||
|
||||
internal static int CloseDir (IntPtr dir) {
|
||||
int result;
|
||||
do {
|
||||
result = CloseDir_native (dir);
|
||||
} while (result < 0 && Marshal.GetLastWin32Error () == (int) Interop.Error.EINTR);
|
||||
return result;
|
||||
}
|
||||
|
||||
internal static unsafe int ReadDirR (IntPtr dir, byte* buffer, int bufferSize, out DirectoryEntry outputEntry) {
|
||||
int result;
|
||||
do {
|
||||
result = ReadDirR_native (dir, buffer, bufferSize, out outputEntry);
|
||||
} while (result == (int) Interop.Error.EINTR);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -27,6 +27,7 @@
|
||||
../../../external/corefx/src/Common/src/Microsoft/Win32/SafeHandles/SafeDirectoryHandle.Unix.cs
|
||||
|
||||
corefx/DriveInfoInternal.Unix.cs
|
||||
corefx/Interop.ReadDir.Mono.cs
|
||||
|
||||
../../../external/corefx/src/Common/src/CoreLib/Interop/Unix/System.Native/Interop.GetRandomBytes.cs
|
||||
../../../external/corefx/src/Common/src/CoreLib/Interop/Unix/System.Native/Interop.ReadDir.cs
|
||||
|
||||
@@ -1 +1 @@
|
||||
7b0585d2376eb881b6fdb12873b7c8e3c15f4aa8
|
||||
197d0e8ec97a7b31173acfd9776552bf4a3fe65c
|
||||
@@ -1 +1 @@
|
||||
931a7e1705baff5e63b5587bc6c863db32101e7b
|
||||
2bb964144027e768d7227bebe2344793acef7f21
|
||||
@@ -1 +1 @@
|
||||
8790e6bff22f8c9dc38b08e15d07c262c55abd71
|
||||
8e6e0d99312169743afa184e9dc39bcb7876b2d1
|
||||
@@ -1 +1 @@
|
||||
2ae3de17435d6b8c3a54ac9245bb84879936b918
|
||||
4e8a9098bfe67c396b5c70eb052c61e83403d820
|
||||
@@ -1 +1 @@
|
||||
c9f48ea0b1b90c5515cf037ca74ba50734cca1f7
|
||||
156f96999d96d3fd08d3a0253334529cfeb0029d
|
||||
@@ -1 +1 @@
|
||||
7d51a7f678667dee96e294313a97fc0d3caaef32
|
||||
955009f5debaca49c4733f2e841b0184d9bc168d
|
||||
@@ -1 +1 @@
|
||||
d6ef90941f66164af10a3588c85cd851b7f72766
|
||||
af3dd7c59a717954fb34d1ce258148f61aa5d768
|
||||
@@ -1 +1 @@
|
||||
9c24c0027d0e9faa5381eddae4d56b7a363d9afd
|
||||
ddd5815a934998c497f9cfd5b271e3307193e49c
|
||||
@@ -1 +1 @@
|
||||
7b0585d2376eb881b6fdb12873b7c8e3c15f4aa8
|
||||
197d0e8ec97a7b31173acfd9776552bf4a3fe65c
|
||||
@@ -1 +1 @@
|
||||
931a7e1705baff5e63b5587bc6c863db32101e7b
|
||||
2bb964144027e768d7227bebe2344793acef7f21
|
||||
@@ -1 +1 @@
|
||||
8790e6bff22f8c9dc38b08e15d07c262c55abd71
|
||||
8e6e0d99312169743afa184e9dc39bcb7876b2d1
|
||||
@@ -1 +1 @@
|
||||
2ae3de17435d6b8c3a54ac9245bb84879936b918
|
||||
4e8a9098bfe67c396b5c70eb052c61e83403d820
|
||||
@@ -1 +1 @@
|
||||
c9f48ea0b1b90c5515cf037ca74ba50734cca1f7
|
||||
156f96999d96d3fd08d3a0253334529cfeb0029d
|
||||
@@ -1 +1 @@
|
||||
7d51a7f678667dee96e294313a97fc0d3caaef32
|
||||
955009f5debaca49c4733f2e841b0184d9bc168d
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user