Re: scandirat return dirents of parent dir

2017-07-05 Thread Corinna Vinschen
On Jul 5 05:38, comic fans wrote: > I've already submitted a patch for this but your fix is much > quicker... confirmed this snapshot resolved the problem. Thank you. > >> Hello: > >> I've found this problem when compile > >> casync(https://github.com/systemd/casync.git) in cygwin,workflow to

Re: scandirat return dirents of parent dir

2017-07-04 Thread comic fans
I've already submitted a patch for this but your fix is much quicker... confirmed this snapshot resolved the problem. Thank you. >> Hello: >> I've found this problem when compile >> casync(https://github.com/systemd/casync.git) in cygwin,workflow to >> trigger this : >> rootfd=open(".",O_C

Re: scandirat return dirents of parent dir

2017-07-04 Thread Corinna Vinschen
On Jul 4 19:09, comic fans wrote: > Hello: > I've found this problem when compile > casync(https://github.com/systemd/casync.git) in cygwin,workflow to > trigger this : > rootfd=open(".",O_CLOEXEC|O_RDONLY|O_NOCTTY); > scandirat(rootfd,".", firstLevelDirEnts..); > foreach dire

Re: scandirat return dirents of parent dir

2017-07-04 Thread Thomas Wolff
On 04.07.2017 13:09, comic fans wrote: Hello: I've found this problem when compile casync(https://github.com/systemd/casync.git) in cygwin,workflow to trigger this : rootfd=open(".",O_CLOEXEC|O_RDONLY|O_NOCTTY); scandirat(rootfd,".", firstLevelDirEnts..); foreach dirent i

scandirat return dirents of parent dir

2017-07-04 Thread comic fans
Hello: I've found this problem when compile casync(https://github.com/systemd/casync.git) in cygwin,workflow to trigger this : rootfd=open(".",O_CLOEXEC|O_RDONLY|O_NOCTTY); scandirat(rootfd,".", firstLevelDirEnts..); foreach dirent in firstLevelDirEnts: if dirent is di