mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
Fix invalid header offset (has been changed in opendir.c but checkin of
readdir.c was missing). git-svn-id: svn://svn.cc65.org/cc65/trunk@5800 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
58c8db7c75
commit
537b18d765
@ -81,7 +81,7 @@ struct dirent* __fastcall__ readdir (register DIR* dir)
|
||||
/* End of file name found. */
|
||||
entry.d_name[j] = '\0';
|
||||
entry.d_namlen = j;
|
||||
if (entry.d_off != 0) {
|
||||
if (entry.d_off > 2) {
|
||||
/* Proceed with file type */
|
||||
s = 2;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user