Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress warning when FileReader encounters dot and dot-dot entries #1318

Merged
merged 1 commit into from
Oct 1, 2019
Merged

Suppress warning when FileReader encounters dot and dot-dot entries #1318

merged 1 commit into from
Oct 1, 2019

Conversation

JanuszL
Copy link
Contributor

@JanuszL JanuszL commented Sep 30, 2019

  • in some file systems, readdir call returns dot and dot-dot as a valid
    entries in a given directory. Currently, DALI will print warning that
    this file is not supported. Instead, it should be silently skipped.

Signed-off-by: Janusz Lisiecki jlisiecki@nvidia.com

Why we need this PR?

What happened in this PR?

  • in some file systems, readdir call returns dot and dot-dot as a valid
    entries in a given directory. Currently, DALI will print warning that
    this file is not supported. Instead, it should be silently skipped.
  • added silent skip of dot and dot-dot entries in scanned directories
  • CI

JIRA TASK: [NA]

- in some file systems, readdir call returns dot and dot-dot as a valid
  entries in a given directory. Currently, DALI will print warning that
  this file is not supported. Instead, it should be silently skipped.

Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
@dali-automaton
Copy link
Collaborator

CI MESSAGE: [923325]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [923325]: BUILD PASSED

@JanuszL JanuszL merged commit b8db778 into NVIDIA:master Oct 1, 2019
@JanuszL JanuszL deleted the skip_parent_dir branch October 1, 2019 10:49
00liujj pushed a commit to 00liujj/DALI that referenced this pull request Oct 10, 2019
…VIDIA#1318)

- in some file systems, readdir call returns dot and dot-dot as a valid
  entries in a given directory. Currently, DALI will print warning that
  this file is not supported. Instead, it should be silently skipped.

Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
Signed-off-by: Jianjun Liu <00liujj@163.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants