strcpy(yaffs_file_list[x],yaffs_current_file->d_name);
}
}
+ yaffs_closedir(yaffs_open_dir);
}
linux_open_dir = opendir(linux_struct.root_path);
strcpy(linux_file_list[x],linux_current_file->d_name);
}
}
+ closedir(linux_open_dir);
}
unlink(file);
}
}
- unlink(linux_struct.root_path);
+ closedir(linux_open_dir);
+ rmdir(linux_struct.root_path);
}
}