remove OSF1 support
This commit is contained in:
@@ -44,9 +44,6 @@
|
||||
#include <DtMail/Buffer.hh>
|
||||
|
||||
#include <string.h>
|
||||
#ifdef __osf__
|
||||
#include <stdlib.h>
|
||||
#endif // __osf__
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <DtMail/Threads.hh>
|
||||
|
||||
@@ -69,12 +69,7 @@ struct cmd {
|
||||
};
|
||||
|
||||
struct var *DtMail::MailRc::variables[HSHSIZE]; /* Pointer to active var list */
|
||||
#ifdef __osf__
|
||||
typedef DtMail::MailRc::globals DtMailRc_globals;
|
||||
DtMailRc_globals DtMail::MailRc::glob;
|
||||
#else
|
||||
struct DtMail::MailRc::globals DtMail::MailRc::glob;
|
||||
#endif
|
||||
char *DtMail::MailRc::nullfield;
|
||||
Boolean DtMail::MailRc::clearAliases;
|
||||
|
||||
@@ -150,7 +145,7 @@ struct cmd cmdtab[] = {
|
||||
|
||||
#if defined(sun)
|
||||
#define SYSTEM_MAILRC "/etc/mail/mail.rc"
|
||||
#elif defined(_AIX) || defined(__osf__) || defined(linux)
|
||||
#elif defined(_AIX) || defined(linux)
|
||||
#define SYSTEM_MAILRC "/usr/share/lib/Mail.rc"
|
||||
#elif defined(__hpux)
|
||||
#define SYSTEM_MAILRC "/usr/share/lib/mailx.rc"
|
||||
|
||||
@@ -97,10 +97,6 @@ extern "C" { int lockf(int, int, off_t); }
|
||||
#endif
|
||||
#endif /* _AIX */
|
||||
|
||||
#ifdef __osf__
|
||||
extern "C" { int statvfs(const char *, struct statvfs *); }
|
||||
#endif /* __osf__ */
|
||||
|
||||
#include <DtMail/DtMail.hh>
|
||||
#include <DtMail/DtMailError.hh>
|
||||
#include <DtMail/IO.hh>
|
||||
@@ -623,11 +619,7 @@ SafeStrftime(char * buf, size_t buf_size,
|
||||
void *SockOpen(char *host, int clientPort, char **errorstring)
|
||||
{
|
||||
int sockfd;
|
||||
#if defined(__osf__)
|
||||
in_addr_t inaddr;
|
||||
#else
|
||||
unsigned long inaddr;
|
||||
#endif
|
||||
struct sockaddr_in ad;
|
||||
struct hostent *hp;
|
||||
DtMailEnv error;
|
||||
@@ -820,9 +812,7 @@ GetPasswordEntry(passwd & result)
|
||||
passwordEntry.pw_name = strdup(passwordEntry.pw_name);
|
||||
passwordEntry.pw_passwd = strdup(passwordEntry.pw_passwd);
|
||||
#if !defined(_AIX) && !defined(linux) && !defined(CSRG_BASED)
|
||||
#ifndef __osf__
|
||||
passwordEntry.pw_age = strdup(passwordEntry.pw_age);
|
||||
#endif
|
||||
passwordEntry.pw_comment = strdup(passwordEntry.pw_comment);
|
||||
#endif
|
||||
passwordEntry.pw_gecos = strdup(passwordEntry.pw_gecos);
|
||||
|
||||
@@ -41,49 +41,6 @@
|
||||
*+ENOTICE
|
||||
*/
|
||||
|
||||
#if defined (__osf__)
|
||||
|
||||
// Workaround for CDExc19308
|
||||
//
|
||||
// This ifdef was added as a workaround for the
|
||||
// bug in the OSF1 V3.2 148 /usr/include/sys/localedef.h
|
||||
// header file, and should be removed as soon as the bug is
|
||||
// fixed.
|
||||
|
||||
#include <iconv.h>
|
||||
#include <locale.h>
|
||||
#include <time.h>
|
||||
#include <DtHelp/LocaleXlate.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <limits.h>
|
||||
#include <ctype.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <pwd.h>
|
||||
#include <sys/socket.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include <DtMail/DtMail.hh>
|
||||
#include <EUSDebug.hh>
|
||||
#include "DynamicLib.hh"
|
||||
#include <DtMail/Threads.hh>
|
||||
#include <DtMail/ImplDriver.hh>
|
||||
#include "ImplConfigTable.hh"
|
||||
#include "SigChldImpl.hh"
|
||||
#include <DtMail/IO.hh>
|
||||
#include <DtMail/Common.h>
|
||||
|
||||
#ifndef True
|
||||
#define True 1
|
||||
#endif
|
||||
#ifndef False
|
||||
#define False 0
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
@@ -140,8 +97,7 @@ extern "C" {
|
||||
}
|
||||
#endif
|
||||
|
||||
// End of For CHARSET
|
||||
#endif // ! defined(__osf__)
|
||||
//End of CHARSET
|
||||
|
||||
DtVirtArray<SigChldInfo *> *DtMailSigChldList;
|
||||
void * _DtMutex;
|
||||
|
||||
Reference in New Issue
Block a user