version 1.15, 2001/12/28 02:17:33 |
version 1.16, 2001/12/28 06:18:10 |
|
|
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* |
* |
* $OpenXM: OpenXM_contrib2/asir2000/parse/main.c,v 1.14 2001/12/27 07:51:17 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/parse/main.c,v 1.15 2001/12/28 02:17:33 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
Line 98 main(int argc,char *argv[]) |
|
Line 98 main(int argc,char *argv[]) |
|
char *homedir; |
char *homedir; |
char *ptr; |
char *ptr; |
#if !defined(VISUAL) |
#if !defined(VISUAL) |
char *slash,*binname; |
char *slash,*bslash,*binname; |
#endif |
#endif |
|
|
StackBottom = &tmp; |
StackBottom = &tmp; |
Line 117 main(int argc,char *argv[]) |
|
Line 117 main(int argc,char *argv[]) |
|
ox_mpi_master_init(); |
ox_mpi_master_init(); |
#elif !defined(VISUAL) |
#elif !defined(VISUAL) |
slash = (char *)rindex(argv[0],'/'); |
slash = (char *)rindex(argv[0],'/'); |
|
bslash = (char *)rindex(argv[0],'\\'); |
if ( slash ) |
if ( slash ) |
binname = slash+1; |
binname = slash+1; |
|
else if ( bslash ) |
|
binname = bslash+1; |
else |
else |
binname = argv[0]; |
binname = argv[0]; |
if ( !strncmp(binname,"ox_asir",strlen("ox_asir")) ) { |
if ( !strncmp(binname,"ox_asir",strlen("ox_asir")) ) { |