diff options
author | Ryan Gonzalez | 2019-10-13 20:14:28 -0500 |
---|---|---|
committer | Ryan Gonzalez | 2019-10-13 20:14:28 -0500 |
commit | 3c0e8ed71e7039cbe479c0142c6aab26f417b280 (patch) | |
tree | 12ea54cbc785351e5915dc531c57e22ed9d7cd74 /0001-Silence-errors-due-to-which-failing-to-find-swiftenv.patch | |
parent | 31aeebb2195fb7d67e33e01414103c23ee45ee77 (diff) | |
download | aur-sourcekitten.tar.gz |
Updates
Diffstat (limited to '0001-Silence-errors-due-to-which-failing-to-find-swiftenv.patch')
-rw-r--r-- | 0001-Silence-errors-due-to-which-failing-to-find-swiftenv.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/0001-Silence-errors-due-to-which-failing-to-find-swiftenv.patch b/0001-Silence-errors-due-to-which-failing-to-find-swiftenv.patch deleted file mode 100644 index b3aa84089006..000000000000 --- a/0001-Silence-errors-due-to-which-failing-to-find-swiftenv.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 8ea65d0a2c22468276d202d746877fa67083cf12 Mon Sep 17 00:00:00 2001 -From: Ryan Gonzalez <rymg19@gmail.com> -Date: Sat, 2 Mar 2019 13:21:46 -0600 -Subject: [PATCH] Silence errors due to which failing to find swiftenv - ---- - Source/SourceKittenFramework/library_wrapper.swift | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/Source/SourceKittenFramework/library_wrapper.swift b/Source/SourceKittenFramework/library_wrapper.swift -index 0651afe..6a0a440 100644 ---- a/Source/SourceKittenFramework/library_wrapper.swift -+++ b/Source/SourceKittenFramework/library_wrapper.swift -@@ -79,6 +79,9 @@ private func runCommand(_ path: String, _ args: String...) -> String? { - - let pipe = Pipe() - process.standardOutput = pipe -+ // FileHandle.nullDevice does not work here, as it consists of an invalid file descriptor, -+ // causing process.launch() to abort with an EBADF. -+ process.standardError = FileHandle(forWritingAtPath: "/dev/null")! - process.launch() - - let data = pipe.fileHandleForReading.readDataToEndOfFile() --- -2.20.1 - |