Directory Core/OS/

Total Files:
6
Deleted Files:
0
Lines of Code:
1211

[root]/Core/OS

Lines of Code

Core/OS/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 16 (100.0%) 35 (100.0%) 2.1
dav 7 (43.8%) 29 (82.9%) 4.1
jas 9 (56.3%) 6 (17.1%) 0.6

Most Recent Commits

dav 2018-07-12 14:44 Rev.: 58415

Fix (this time for sure...?) earlier fix for deleting directories on certain file systems. Note, this routine is only used when 'boost' is not enabled (via configure)... otherwise the boost 'remove' is called (and does not suffer from this issue). This is why only a small subset of users were seeing the issue of some checkpoint dirs not being deleted.

0 lines of code changed in 2 files:

  • Core/OS: Dir.cc (changed)
dav 2018-07-11 17:05 Rev.: 58409


This fixes an issue with (older/non-compliant?) file systems with respect to deleting directories.
For many years We had a 'hack' in place for AIX file systems to use 'stat' instead of the cheaper
"file->d_type" check. It turns out that we should (have been) use the hack anytime that file->d_type
is DT_UNKNOWN, not just under AIX. This should fix the problem that some people were seeing on some
file systems where (checkpoint) diretories were not being deleted when they should have been.

M CCA/Components/DataArchiver/DataArchiver.h
M CCA/Components/DataArchiver/DataArchiver.cc

- Const'ify a number of method params that are not changed in the functions (and thus should be declared const).
- Add some white space for readability.
- Actually print out warning messages when old checkpoint directories fail to be deleted.

M CCA/Components/Schedulers/OnDemandDataWarehouse.cc
M CCA/Components/SimulationController/SimulationController.cc

- Purely cosmetic: Add some white space for readability.

M CCA/Ports/Output.h

- Match updated interface (ie, use of const) for DataArchiver.
- Add some white space for readability.

M Core/OS/Dir.h
M Core/OS/Dir.cc

- Add 'const' due to addition of const above.
- Add some white space for readability.
- Fix the check that we use to determine if a 'file' is a directory (see above).

M Core/OS/Dir_boost.cc

- Add const, white space, and {} for if statement.

29 lines of code changed in 5 files:

  • Core/OS: Dir.cc (+21 -15), Dir.h (+1 -1), Dir_boost.cc (new)
jas 2018-01-09 17:40 Rev.: 57604

Update copyright date.

6 lines of code changed in 9 files:

  • Core/OS: Dir.cc (+1 -1), Dir.h (+1 -1), Dir_boost.cc (+1 -1), ProcessInfo.cc (new), ProcessInfo.h (+1 -1), sub.mk (new)
Generated by StatSVN 0.7.0