vfat.c (mtools-4.0.35.tar.bz2) | : | vfat.c (mtools-4.0.36.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 182 | skipping to change at line 182 | |||
} | } | |||
/* check_vfat | /* check_vfat | |||
* | * | |||
* Inspect a directory and any associated VSEs. | * Inspect a directory and any associated VSEs. | |||
* Return 1 if the VSEs comprise a valid long file name, | * Return 1 if the VSEs comprise a valid long file name, | |||
* 0 if not. | * 0 if not. | |||
*/ | */ | |||
static __inline__ void check_vfat(struct vfat_state *v, struct directory *dir) | static __inline__ void check_vfat(struct vfat_state *v, struct directory *dir) | |||
{ | { | |||
dos_name_t dn;; | dos_name_t dn; | |||
if (! v->subentries) { | if (! v->subentries) { | |||
#ifdef DEBUG | #ifdef DEBUG | |||
fprintf(stderr, "check_vfat: no VSEs.\n"); | fprintf(stderr, "check_vfat: no VSEs.\n"); | |||
#endif | #endif | |||
return; | return; | |||
} | } | |||
memcpy(dn.base, (char *)dir->name, 8); | memcpy(dn.base, (char *)dir->name, 8); | |||
memcpy(dn.ext, (char *)dir->ext, 3); | memcpy(dn.ext, (char *)dir->ext, 3); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |