Many additions and changes.

This commit is contained in:
barant committed 2019-09-13 10:29:36 -07:00
1 parent 50f6e972de
commit 08169b1c3d
30 files changed
+451 -63

No files matched your search

+2 -2
View File
@@ -9,13 +9,13 @@ namespace coreutils {
public:
DirectoryEntry(struct dirent *entry) {
memcpy(this->entry, entry, sizeof(struct dirent));
memcpy(&this->entry, entry, sizeof(struct dirent));
}
~DirectoryEntry() {}
std::string getName() {
return std::string(entry->d_name);
return std::string(entry.d_name);
}
private: