зеркало из https://github.com/mozilla/gecko-dev.git
Bug 831279 - Part 1: Backout changeset 9adf5ca922a4 (bug 798354) because it relied on the assumption that C++98 is a sane language and allows sizeof(class::member), but that sanity has just been added to C++11, a=overholt
This commit is contained in:
Родитель
a8fbc11200
Коммит
000512c4fc
|
@ -133,7 +133,8 @@ int ChannelNameToClientFD(const std::string& channel_id) {
|
|||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
const size_t kMaxPipeNameLength = sizeof(sockaddr_un::sun_path);
|
||||
sockaddr_un sizecheck;
|
||||
const size_t kMaxPipeNameLength = sizeof(sizecheck.sun_path);
|
||||
|
||||
// Creates a Fifo with the specified name ready to listen on.
|
||||
bool CreateServerFifo(const std::string& pipe_name, int* server_listen_fd) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче