summaryrefslogtreecommitdiff
path: root/Ports/dropbear
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-08 21:57:13 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-08 21:57:13 +0200
commita85506009fc11513d48b7f821917fc9e2324d811 (patch)
tree9f164f210e058a76f6e3b43144d4f09b8edfb338 /Ports/dropbear
parentc88ea2f54aa76f29aa538a74e262221ed66c5c58 (diff)
downloadserenity-a85506009fc11513d48b7f821917fc9e2324d811.zip
LibC: Don't assert on unknown mode character in fopen()
Just carry on with some debug log whining. Gets rid of one dropbear patch. :^)
Diffstat (limited to 'Ports/dropbear')
-rw-r--r--Ports/dropbear/patches/fopen-c.patch11
1 files changed, 0 insertions, 11 deletions
diff --git a/Ports/dropbear/patches/fopen-c.patch b/Ports/dropbear/patches/fopen-c.patch
deleted file mode 100644
index cd76e100a9..0000000000
--- a/Ports/dropbear/patches/fopen-c.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/compat.c
-+++ b/compat.c
-@@ -244,7 +244,7 @@
- if (strings != NULL)
- free(strings);
- strings = NULL;
-- if ((fp = fopen("/etc/shells", "rc")) == NULL)
-+ if ((fp = fopen("/etc/shells", "r")) == NULL)
- return (char **) okshells;
- if (fstat(fileno(fp), &statb) == -1) {
- (void)fclose(fp);