version 1.24 | | version 1.25 |
---|
| | |
/* | | /* |
* static char *rcsid_porting_c = | | * static char *rcsid_porting_c = |
* "$Id: porting.c,v 1.24 2004/04/28 22:04:08 ryo_saeba Exp $"; | | * "$Id: porting.c,v 1.25 2005/04/27 06:39:50 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
char *f, *name; | | char *f, *name; |
pid_t pid=getpid(); | | pid_t pid=getpid(); |
| | |
| | /* HURD does not have a hard limit, but we do */ |
| | #ifndef MAXPATHLEN |
| | #define MAXPATHLEN 4096 |
| | #endif |
| | |
if (!(name = (char *) malloc(MAXPATHLEN))) | | if (!(name = (char *) malloc(MAXPATHLEN))) |
return(NULL); | | return(NULL); |
| | |