From: Christophe R. <cs...@ca...> - 2005-08-30 14:15:33
|
Rex Dieter <rd...@ma...> writes: > + char *buf; > + size_t bufsiz = sizeof(buf)*MAXPATHLEN; > + buf = (char *)malloc(bufsiz ); Shouldn't we be checking the return value of malloc() here? Cheers, Christophe |