all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 007a6b847c6928277282457d1416642b77ee5312 4478 bytes (raw)
name: gnu/packages/patches/mono-5.4.0-patches.patch 	 # note: path name is non-authoritative(*)

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
 
diff --git a/mcs/class/System/Mono.Net.Security/AsyncProtocolRequest.cs b/mcs/class/System/Mono.Net.Security/AsyncProtocolRequest.cs
index 3c537a7e427..59beb19255f 100644
--- a/mcs/class/System/Mono.Net.Security/AsyncProtocolRequest.cs
+++ b/mcs/class/System/Mono.Net.Security/AsyncProtocolRequest.cs
@@ -316,7 +316,9 @@ namespace Mono.Net.Security
 		{
 			Debug ("ProcessRead - read user: {0} {1}", this, status);
 
-			var (ret, wantMore) = Parent.ProcessRead (UserBuffer);
+            System.ValueTuple<int, bool> t0 = Parent.ProcessRead (UserBuffer);
+            var ret = t0.Item1;
+            var wantMore = t0.Item2;
 
 			Debug ("ProcessRead - read user done: {0} - {1} {2}", this, ret, wantMore);
 
@@ -355,7 +357,9 @@ namespace Mono.Net.Security
 				return AsyncOperationStatus.Complete;
 			}
 
-			var (ret, wantMore) = Parent.ProcessWrite (UserBuffer);
+            System.ValueTuple<int, bool> t0 = Parent.ProcessWrite (UserBuffer);
+            var ret = t0.Item1;
+            var wantMore = t0.Item2;
 
 			Debug ("ProcessWrite - write user done: {0} - {1} {2}", this, ret, wantMore);
 
diff --git a/mcs/class/System/Mono.Net.Security/MobileAuthenticatedStream.cs b/mcs/class/System/Mono.Net.Security/MobileAuthenticatedStream.cs
index 2b380a1ae6c..66e45bc1f1d 100644
--- a/mcs/class/System/Mono.Net.Security/MobileAuthenticatedStream.cs
+++ b/mcs/class/System/Mono.Net.Security/MobileAuthenticatedStream.cs
@@ -403,8 +403,10 @@ namespace Mono.Net.Security
 				       asyncReadRequest != null ? "async" : "",
 				       readBuffer != null ? readBuffer.ToString () : "");
 				var asyncRequest = asyncHandshakeRequest ?? asyncReadRequest;
-				var (ret, wantMore) = InternalRead (asyncRequest, readBuffer, buffer, offset, size);
-				outWantMore = wantMore;
+                System.ValueTuple<int, bool> t0 = InternalRead (asyncRequest, readBuffer, buffer, offset, size);
+                var ret = t0.Item1;
+                var wantMore = t0.Item2;
+                outWantMore = wantMore;
 				return ret;
 			} catch (Exception ex) {
 				Debug ("InternalRead failed: {0}", ex);
@@ -414,7 +416,7 @@ namespace Mono.Net.Security
 			}
 		}
 
-		(int, bool) InternalRead (AsyncProtocolRequest asyncRequest, BufferOffsetSize internalBuffer, byte[] buffer, int offset, int size)
+		System.ValueTuple<int, bool> InternalRead (AsyncProtocolRequest asyncRequest, BufferOffsetSize internalBuffer, byte[] buffer, int offset, int size)
 		{
 			if (asyncRequest == null)
 				throw new InvalidOperationException ();
@@ -436,7 +438,7 @@ namespace Mono.Net.Security
 				Debug ("InternalRead #1: {0} {1} {2}", internalBuffer.Offset, internalBuffer.TotalBytes, size);
 				internalBuffer.Offset = internalBuffer.Size = 0;
 				asyncRequest.RequestRead (size);
-				return (0, true);
+				return new ValueTuple<int, bool>(0, true);
 			}
 
 			/*
@@ -451,7 +453,7 @@ namespace Mono.Net.Security
 			Buffer.BlockCopy (internalBuffer.Buffer, internalBuffer.Offset, buffer, offset, len);
 			internalBuffer.Offset += len;
 			internalBuffer.Size -= len;
-			return (len, !internalBuffer.Complete && len < size);
+			return new ValueTuple<int, bool>(len, !internalBuffer.Complete && len < size);
 		}
 
 		/*
@@ -620,21 +622,23 @@ namespace Mono.Net.Security
 			}
 		}
 
-		internal (int, bool) ProcessRead (BufferOffsetSize userBuffer)
+		internal System.ValueTuple<int, bool> ProcessRead (BufferOffsetSize userBuffer)
 		{
 			lock (ioLock) {
 				// This operates on the internal buffer and will never block.
-				var ret = xobileTlsContext.Read (userBuffer.Buffer, userBuffer.Offset, userBuffer.Size, out bool wantMore);
-				return (ret, wantMore);
+                bool wantMore;
+				var ret = xobileTlsContext.Read (userBuffer.Buffer, userBuffer.Offset, userBuffer.Size, out wantMore);
+				return new System.ValueTuple<int, bool>(ret, wantMore);
 			}
 		}
 
-		internal (int, bool) ProcessWrite (BufferOffsetSize userBuffer)
+		internal System.ValueTuple<int, bool> ProcessWrite (BufferOffsetSize userBuffer)
 		{
 			lock (ioLock) {
 				// This operates on the internal buffer and will never block.
-				var ret = xobileTlsContext.Write (userBuffer.Buffer, userBuffer.Offset, userBuffer.Size, out bool wantMore);
-				return (ret, wantMore);
+                bool wantMore;
+				var ret = xobileTlsContext.Write (userBuffer.Buffer, userBuffer.Offset, userBuffer.Size, out wantMore);
+				return new System.ValueTuple<int, bool>(ret, wantMore);
 			}
 		}
 

debug log:

solving 007a6b847c6 ...
found 007a6b847c6 in https://yhetil.org/guix/50408f814cf6fa20cfed8c9b5e6f11fc2aa941a4.1734369314.git.efraim@flashner.co.il/

applying [1/1] https://yhetil.org/guix/50408f814cf6fa20cfed8c9b5e6f11fc2aa941a4.1734369314.git.efraim@flashner.co.il/
diff --git a/gnu/packages/patches/mono-5.4.0-patches.patch b/gnu/packages/patches/mono-5.4.0-patches.patch
new file mode 100644
index 00000000000..007a6b847c6

1:12: space before tab in indent.
 		{
1:13: space before tab in indent.
 			Debug ("ProcessRead - read user: {0} {1}", this, status);
1:14: trailing whitespace.
 
1:19: trailing whitespace.
 
1:20: space before tab in indent.
 			Debug ("ProcessRead - read user done: {0} - {1} {2}", this, ret, wantMore);
Checking patch gnu/packages/patches/mono-5.4.0-patches.patch...
Applied patch gnu/packages/patches/mono-5.4.0-patches.patch cleanly.
warning: squelched 47 whitespace errors
warning: 52 lines add whitespace errors.

index at:
100644 007a6b847c6928277282457d1416642b77ee5312	gnu/packages/patches/mono-5.4.0-patches.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.