mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
e641d4540e
We used to allocate memory on the stack when reading from a file descriptor and copied the result into an instance of UnixSocketRawData. This patch - cleans up the interface of UnixSocketRawData, - removes the large stack allocation (64KiB), and - removes the unnecessary memcpy. Other memcpys for sending data have been moved into the constructor of UnixSocketRawData. --HG-- extra : rebase_source : 46ed1c73481732c3f3350bf0bedb56d376c24e98 |
||
---|---|---|
.. | ||
Makefile.in | ||
moz.build | ||
UnixSocket.cpp | ||
UnixSocket.h |