#806: Test.readdir is not skipped on Win32 even though it appears that it should
be
-------------------+--------------------------------------------------------
Reporter: MoC | Type: bug
Status: new | Priority: normal
Milestone: | Component: core
Version: trunk | Severity: low
Keywords: | Lang:
Patch: | Platform: win32
-------------------+--------------------------------------------------------
Comment(by MoC):
To make sure I compiled the following snippet:
{{{
#include <dirent.h>
#include <stdio.h>
int main (int argc, char * argv[])
{
struct dirent *dirent;
DIR *dir = opendir("SomeDirectoryThatExists");
while ((dirent = readdir(dir)) != NULL) {
printf("%s ", dirent->d_name);
}
closedir(dir);
}
}}}
Which works as expected. Could it be that the while-loop in the pmc code
is not reached at all?
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/806#comment:3>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets