summaryrefslogtreecommitdiff
path: root/LibC/unistd.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-20 14:02:19 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-20 14:02:19 +0200
commit5eedb2283488fafef98c20729bc6917c6de957e5 (patch)
tree99f5fa12e15a4134f5b53f13ab34dcca1cb5efbf /LibC/unistd.cpp
parent7faf8fabf20d703141bc873716e8bea7692d1975 (diff)
downloadserenity-5eedb2283488fafef98c20729bc6917c6de957e5.zip
Sprinkle use of AK::Vector in various places.
Some of these are less helpful than others. Avoiding a bunch of mallocs in the event loop wakeup code is definitely nice.
Diffstat (limited to 'LibC/unistd.cpp')
-rw-r--r--LibC/unistd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibC/unistd.cpp b/LibC/unistd.cpp
index a0bd5be157..19f02c034e 100644
--- a/LibC/unistd.cpp
+++ b/LibC/unistd.cpp
@@ -64,7 +64,7 @@ int execvp(const char* filename, char* const argv[])
int execl(const char* filename, const char* arg0, ...)
{
- Vector<const char*> args;
+ Vector<const char*, 16> args;
args.append(arg0);
va_list ap;