diff options
author | Ron Olson <tachoknight@gmail.com> | 2020-04-14 15:07:39 -0500 |
---|---|---|
committer | Ron Olson <tachoknight@gmail.com> | 2020-04-14 15:07:39 -0500 |
commit | 8e62b80e958264b92e0804c336a1c2d8c461a2d0 (patch) | |
tree | d4ccd59108af39f8ea613155ecb091c283024b5b /swift-unwrapped.patch | |
parent | 43fe7bf1ccdc651b37b9958e9a41bc9d67a1d4e9 (diff) | |
download | swift-lang-master.tar.gz swift-lang-master.tar.xz swift-lang-master.zip |
Diffstat (limited to 'swift-unwrapped.patch')
-rw-r--r-- | swift-unwrapped.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/swift-unwrapped.patch b/swift-unwrapped.patch deleted file mode 100644 index 0f88eb0..0000000 --- a/swift-unwrapped.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- swiftpm/Sources/Basic/Process.swift.orig 2019-03-13 14:27:25.426760197 -0500 -+++ swiftpm/Sources/Basic/Process.swift 2019-03-13 14:28:45.656837626 -0500 -@@ -327,7 +327,7 @@ - let devNull = strdup("/dev/null") - defer { free(devNull) } - // Open /dev/null as stdin. -- posix_spawn_file_actions_addopen(&fileActions, 0, devNull, O_RDONLY, 0) -+ posix_spawn_file_actions_addopen(&fileActions, 0, devNull!, O_RDONLY, 0) - - var outputPipe: [Int32] = [0, 0] - var stderrPipe: [Int32] = [0, 0] -@@ -350,7 +350,7 @@ - - let argv = CStringArray(arguments) - let env = CStringArray(environment.map({ "\($0.0)=\($0.1)" })) -- let rv = posix_spawnp(&processID, argv.cArray[0], &fileActions, &attributes, argv.cArray, env.cArray) -+ let rv = posix_spawnp(&processID, argv.cArray[0]!, &fileActions, &attributes, argv.cArray, env.cArray) - - guard rv == 0 else { - throw SystemError.posix_spawn(rv, arguments) |