1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

initial illumos port

This commit is contained in:
Peter Tribble 2014-03-21 16:37:00 -07:00 committed by Jon Trulson
parent 3c14b8b5ce
commit 468d576030
48 changed files with 117 additions and 71 deletions

View file

@ -160,7 +160,7 @@ DtMailServer::set_password(char *password)
//
// len - Length of message.
//
#if defined(sun) || defined(USL)
#if defined(reallyoldsun) || defined(USL)
#define SA_HANDLER_TYPE void (*)(void)
#else
#define SA_HANDLER_TYPE void (*)(int)
@ -231,7 +231,7 @@ DtMailServer::ptrans_retrieve_readandappend(
// Determine if we are done with this message.
if (proto_is_delimited())
{
char *s = strrchr((const char *) _msgbuf, (int) '.');
char *s = const_cast<char *> (strrchr((const char *) _msgbuf, (int) '.'));
if (s &&
(s == _msgbuf || *(s-1) == '\n') &&