diff options
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) |