* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999
+ * Stelian Pop <pop@cybercable.fr>, 1999-2000
*/
/*-
#ifndef lint
static const char rcsid[] =
- "$Id: itime.c,v 1.8 2000/01/07 19:24:04 tiniou Exp $";
+ "$Id: itime.c,v 1.10 2000/03/01 10:16:05 stelian Exp $";
#endif /* not lint */
#include <sys/param.h>
/* device name */
if ( NULL == (tok = strsep( &tbuf, " ")) )
return(-1);
- if ( strlen(tok) > NAME_MAX )
+ if ( strlen(tok) > MAXPATHLEN )
return(-1);
strcpy(ddp->dd_name, tok);