Many additions and changes.
This commit is contained in:
1 parent
50f6e972de
commit
08169b1c3d
30 files changed
+451
-63
No files matched your search
+2
-2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user