version 1.21, 2006/09/13 02:26:13 |
version 1.23, 2013/06/13 18:42:11 |
|
|
* 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/load.c,v 1.20 2006/02/08 02:11:19 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/parse/load.c,v 1.22 2012/12/17 07:20:45 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
|
|
|
|
#ifdef MALLOC |
#ifdef MALLOC |
#undef MALLOC |
#undef MALLOC |
#define MALLOC(x) GC_malloc((x)+4) |
#define MALLOC(x) Risa_GC_malloc((x)+4) |
#endif |
#endif |
|
|
char **ASIRLOADPATH; |
char **ASIRLOADPATH; |
Line 232 void searchasirpath(char *name,char **pathp) |
|
Line 232 void searchasirpath(char *name,char **pathp) |
|
{ |
{ |
char **p; |
char **p; |
char *q; |
char *q; |
int l,ret; |
size_t l; |
|
int ret; |
struct stat sbuf; |
struct stat sbuf; |
|
|
if ( (name[0] == '/') || ( name[0] == '.') || strchr(name,':') |
if ( (name[0] == '/') || ( name[0] == '.') || strchr(name,':') |