Closed Bug 129619 Opened 23 years ago Closed 23 years ago

Solaris/Forte Compile broken by PL_str* change

Categories

(SeaMonkey :: Build Config, defect)

Sun
Solaris
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 129533

People

(Reporter: km, Assigned: netscape)

Details

The builds on Solaris using the Sun/Forte Compiler started breaking approximately since 03/05. The cause was a switch from the PL_str* routines previously used to the use of the native str* routines. This change showed in 7 files as of 03/07 /extensions/cookie/nsCookies.cpp ./netwerk/protocol/data/src/nsDataChannel.cpp ./netwerk/protocol/http/src/nsHttpChannel.cpp ./mailnews/compose/src/nsMsgSend.cpp ./mailnews/compose/src/nsMsgCompose.cpp ./mailnews/imap/src/nsImapProtocol.cpp ./mailnews/news/src/nsNNTPProtocol.cpp For example, line 938 of /mailnews/news/src/nsNNTPProtocol.cpp changed from char * anchor = PL_strrchr(urlSpec.get(), '?'); to char * anchor = strrchr(urlSpec.get(), '?') Under the Fore compiler the latter gives a compile error Error: Cannot assign const char* to char* that does not occur with the PL_ routine.
*** This bug has been marked as a duplicate of 129533 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
verified duplicate.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.