version 1.30, 2006/01/26 08:36:50 |
version 1.32, 2015/08/03 20:56:50 |
|
|
/* $OpenXM: OpenXM/src/util/ox_pathfinder.c,v 1.29 2006/01/10 11:52:56 takayama Exp $ */ |
/* $OpenXM: OpenXM/src/util/ox_pathfinder.c,v 1.31 2010/08/30 04:17:17 takayama Exp $ */ |
/* Moved from misc-2003/07/cygwin/test.c */ |
/* Moved from misc-2003/07/cygwin/test.c */ |
|
|
#include <stdio.h> |
#include <stdio.h> |
|
|
#include <string.h> |
#include <string.h> |
#include "ox_pathfinder.h" |
#include "ox_pathfinder.h" |
|
|
|
void *sGC_malloc(int); |
|
|
int OX_P_stdin = -1; |
int OX_P_stdin = -1; |
int OX_P_stdout = -1; |
int OX_P_stdout = -1; |
int OX_P_stderr = -1; |
int OX_P_stderr = -1; |
Line 40 static int NoX = 0; |
|
Line 42 static int NoX = 0; |
|
static int ErrorVerbose = 1; |
static int ErrorVerbose = 1; |
static int EngineLogToStdout = 0; |
static int EngineLogToStdout = 0; |
|
|
#define nomemory(a) {fprintf(stderr,"(%d) no more memory.\n",a);exit(10);} |
#define nomemory(a) {fprintf(stderr,"(%p) no more memory.\n",(void *)a);exit(10);} |
#define mymalloc(a) sGC_malloc(a) |
#define mymalloc(a) sGC_malloc(a) |
|
|
void pathFinderErrorVerbose(int k) { |
void pathFinderErrorVerbose(int k) { |
Line 572 char *cygwinPathToWinPath(char *s) { |
|
Line 574 char *cygwinPathToWinPath(char *s) { |
|
} |
} |
|
|
if (ans[0] == '/') { |
if (ans[0] == '/') { |
|
#if defined(__CYGWIN64__) |
|
strcpy(ans,"C:\\cygwin64"); |
|
#else |
strcpy(ans,"C:\\cygwin"); |
strcpy(ans,"C:\\cygwin"); |
|
#endif |
strcat(ans,s); |
strcat(ans,s); |
} |
} |
|
|