mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 08:42:13 +00:00
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:
parent
f83771e39e
commit
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user