diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2022-07-14 09:25:40 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2022-07-14 09:25:40 +0200 |
commit | 8096d513b52a30164b1820eab996dd26dbe2a4b8 (patch) | |
tree | 13d452f990beda2cee4719ccce46e2991da466d9 /ACE/apps/JAWS/clients | |
parent | ea7ee2053a878b207203af4ce134cc7fddea8465 (diff) | |
download | ATCD-8096d513b52a30164b1820eab996dd26dbe2a4b8.tar.gz |
Removed old code for Tru64/Irix, not supported anymore for a long time
Diffstat (limited to 'ACE/apps/JAWS/clients')
-rw-r--r-- | ACE/apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/systems.h | 19 | ||||
-rw-r--r-- | ACE/apps/JAWS/clients/WebSTONE/src/nsapi-send.c | 4 |
2 files changed, 0 insertions, 23 deletions
diff --git a/ACE/apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/systems.h b/ACE/apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/systems.h index a38ab3c437a..31bf570c21f 100644 --- a/ACE/apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/systems.h +++ b/ACE/apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/systems.h @@ -170,25 +170,6 @@ #define DLL_CAPABLE #define DLL_HPSHL -#elif defined (IRIX) - -#define FILE_UNIX -#undef FILE_STDIO -#undef DAEMON_UNIX_FORK -#undef DAEMON_UNIX_POOL -#define DAEMON_UNIX_MOBRULE -#define DLL_CAPABLE -#define DLL_DLOPEN -#define NET_SOCKETS -#define FILE_UNIX_MMAP -#define FILE_MMAP_FLAGS MAP_PRIVATE -#undef BSD_SIGNALS -#define BSD_RLIMIT -#define NEED_CRYPT_H -#define AUTH_DBM -#define SEM_FLOCK -#define ZERO(ptr,len) memset(ptr,0,len) - #else /* Windows NT */ #include <wtypes.h> diff --git a/ACE/apps/JAWS/clients/WebSTONE/src/nsapi-send.c b/ACE/apps/JAWS/clients/WebSTONE/src/nsapi-send.c index 3bb5a41c1e5..a3cac43dc81 100644 --- a/ACE/apps/JAWS/clients/WebSTONE/src/nsapi-send.c +++ b/ACE/apps/JAWS/clients/WebSTONE/src/nsapi-send.c @@ -72,11 +72,7 @@ int nsapi_send(pblock *pb, Session *sn, Request *rq) maxindex = sizeof(HEADERS) + filesize; for (index=sizeof(HEADERS); index < (maxindex); index++) /* generate random characters from A-Z */ -#ifdef IRIX - buffer[index] = rand_r() % 26 + 63; -#else buffer[index] = rand() %26 + 63; -#endif /* Send the output */ if (net_write(sn->csd, buffer, sizeof(HEADERS)-1+filesize, 0) == IO_ERROR) |