зеркало из https://github.com/mozilla/gecko-dev.git
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
This commit is contained in:
Родитель
f83771e39e
Коммит
75031cebf9
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче