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

Various small improvements #1207

Merged
merged 2 commits into from
Jul 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
access_token: ${{ github.token }}

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Print system information
run: lscpu
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
access_token: ${{ github.token }}

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Print system information
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos-ustk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
access_token: ${{ github.token }}

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Print system information
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
access_token: ${{ github.token }}

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Print system information
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/other-arch-isolated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
access_token: ${{ github.token }}

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Run on arch
uses: uraimo/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/other-arch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
access_token: ${{ github.token }}

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Run on arch
uses: uraimo/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-3rdparty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
access_token: ${{ github.token }}

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Print system information
run: lscpu
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-contrib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
access_token: ${{ github.token }}

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Print system information
run: lscpu
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-dep-apt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
access_token: ${{ github.token }}

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Print system information
run: lscpu
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-dep-src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
access_token: ${{ github.token }}

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Print system information
run: lscpu
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-isolated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
access_token: ${{ github.token }}

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Print system information
run: lscpu
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
access_token: ${{ github.token }}

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Print system information
run: lscpu
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-ustk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
access_token: ${{ github.token }}

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Print system information
run: lscpu
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
access_token: ${{ github.token }}

- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Print system information
run: lscpu
Expand Down
3 changes: 0 additions & 3 deletions modules/core/src/tools/file/vpIoTools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,6 @@ bool vpIoTools::checkDirectory(const std::string &dirname)
if ((stbuf.st_mode & S_IFDIR) == 0)
#endif
{
std::cout << "DEBUG FS 4 checkDirectory(" << _dirname << ") return false" << std::endl;
return false;
}
#if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__))) // UNIX
Expand All @@ -491,10 +490,8 @@ bool vpIoTools::checkDirectory(const std::string &dirname)
if ((stbuf.st_mode & S_IWRITE) == 0)
#endif
{
std::cout << "DEBUG FS 5 checkDirectory(" << _dirname << ") return false" << std::endl;
return false;
}
std::cout << "DEBUG FS 6 checkDirectory(" << _dirname << ") return true" << std::endl;
return true;
}

Expand Down
Loading