Closed Bug 136494 Opened 23 years ago Closed 23 years ago

socklen_t incorrectly redefined on Solaris

Categories

(SeaMonkey :: General, defect)

Sun
Solaris
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 102118

People

(Reporter: ggbaker, Assigned: dveditz)

Details

Building halts on the file xpinstall/wizard/libxpnet/src/nsSocket.cpp (version 0.9.9) for me with these errors: nsSocket.cpp: In member function `int nsSocket::SrvAccept()': nsSocket.cpp:247: cannot convert `int*' to `socklen_t*' for argument `3' to `int accept(int, sockaddr*, socklen_t*)' nsSocket.cpp: In member function `int nsSocket::GetHostPortString(char**)': nsSocket.cpp:456: cannot convert `int*' to `socklen_t*' for argument `3' to `int getsockname(int, sockaddr*, socklen_t*)' If I comment out line 54 (#define socklen_t int) in that file, it works fine. That line is conditionally compiled for #defined(SOLARIS), which seems wrong since my /usr/include/sys/socket.h defines socklen_t correctly. My uname -a: "SunOS murk 5.8 Generic_108528-02 sun4u sparc SUNW,Ultra-5_10"
Wrong component -- Asa, can you nuke XP Miscellany? /be
Assignee: waterson → dveditz
This is in XPInstall, which I didn't see on the Component list (being under Install, not XPInstall). Fixing it.
Component: XP Miscellany → Installer: XPInstall Engine
please search bugzilla before filing *** This bug has been marked as a duplicate of 102118 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Component: Installer: XPInstall Engine → Browser-General
Resolution: --- → DUPLICATE
vrfy dup
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.