~ubuntu-branches/ubuntu/feisty/pvm/feisty

« back to all changes in this revision

Viewing changes to src/pvmdunix.c

  • Committer: Bazaar Package Importer
  • Author(s): Steinar H. Gunderson
  • Date: 2006-08-09 00:00:40 UTC
  • mfrom: (2.1.5 dapper)
  • Revision ID: james.westby@ubuntu.com-20060809000040-16kh33tmxx2em716
Tags: 3.4.5-7
Build with SHELL=/bin/bash in debian/rules; fixes FTBFS when /bin/sh
isn't bash. (Closes: #379543)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
static char rcsid[] =
3
 
        "$Id: pvmdunix.c,v 1.12 1999/07/08 19:00:11 kohl Exp $";
 
3
        "$Id: pvmdunix.c,v 1.15 2001/02/07 23:15:54 pvmsrc Exp $";
4
4
 
5
5
/*
6
6
 *         PVM version 3.4:  Parallel Virtual Machine System
36
36
 *      Support routines for pvmd in unix environment.
37
37
 *
38
38
 * $Log: pvmdunix.c,v $
 
39
 * Revision 1.15  2001/02/07 23:15:54  pvmsrc
 
40
 * 2nd Half of CYGWIN Check-ins...
 
41
 * (Spanker=kohl)
 
42
 *
 
43
 * Revision 1.14  2000/02/16 22:00:29  pvmsrc
 
44
 * Fixed up #include <sys/types.h> stuff...
 
45
 *      - use <bsd/sys/types.h> for IMA_TITN...
 
46
 *      - #include before any NEEDMENDIAN #includes...
 
47
 * (Spanker=kohl)
 
48
 *
 
49
 * Revision 1.13  2000/02/08 16:58:59  pvmsrc
 
50
 * Re-arranged #include of header files for CRAY J932se.
 
51
 *      - move rpc/types.h, rpc/xdr.h before sys/time.h, sys/socket.h...
 
52
 *      - patch submitted by "Francois Moyroud" <francois@egi.kth.se>
 
53
 * (Spanker=kohl)
 
54
 *
39
55
 * Revision 1.12  1999/07/08 19:00:11  kohl
40
56
 * Fixed "Log" keyword placement.
41
57
 *      - indent with " * " for new CVS.
88
104
#ifndef WIN32
89
105
#include <sys/param.h>
90
106
#endif
 
107
 
 
108
#ifdef IMA_TITN
 
109
#include <bsd/sys/types.h>
 
110
#else
 
111
#include <sys/types.h>
 
112
#endif
 
113
 
91
114
#ifdef NEEDMENDIAN
92
115
#include <machine/endian.h>
93
116
#endif
99
122
#endif
100
123
 
101
124
#include <pvm3.h>
 
125
 
 
126
#if defined(WIN32) || defined(CYGWIN)
 
127
#include "..\xdr\types.h"
 
128
#include "..\xdr\xdr.h"
 
129
#else
 
130
#include <rpc/types.h>
 
131
#include <rpc/xdr.h>
 
132
#endif
 
133
 
102
134
#ifdef WIN32
103
135
#include "pvmwin.h"
104
136
#include <time.h>
105
 
#ifndef _XDR_HEADERS
106
 
#define _XDR_HEADERS
107
 
#include "..\xdr\types.h"
108
 
#include "..\xdr\xdr.h"
109
 
#endif
110
137
#else
111
138
#include <sys/time.h>
112
139
#include <sys/socket.h>
113
140
#include <netinet/in.h>
114
141
#include <netdb.h>
115
 
#include <rpc/types.h>
116
 
#include <rpc/xdr.h>
117
142
#endif
118
143
 
119
 
#include <sys/types.h>
120
144
#ifdef  SYSVSTR
121
145
#include <string.h>
122
146
#define CINDEX(s,c)     strchr(s,c)