version 1.62 | | version 1.63 |
---|
| | |
/* | | /* |
* static char *rcsid_map_c = | | * static char *rcsid_map_c = |
* "$Id: map.c,v 1.62 2004/02/27 23:00:26 ryo_saeba Exp $"; | | * "$Id: map.c,v 1.63 2004/02/28 10:40:56 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
int check_path (char *name, int prepend_dir) | | int check_path (char *name, int prepend_dir) |
{ | | { |
char buf[MAX_BUF], *endbuf; | | char buf[MAX_BUF]; |
| | #ifndef WIN32 |
| | char *endbuf; |
struct stat statbuf; | | struct stat statbuf; |
int mode = 0, i; | | int mode = 0, i; |
| | #endif |
| | |
if (prepend_dir) | | if (prepend_dir) |
strcpy (buf, create_pathname(name)); | | strcpy (buf, create_pathname(name)); |