bugfix/ai-static-analysis #82

Merged
localhorst merged 33 commits from bugfix/ai-static-analysis into master 2025-12-10 21:52:17 +01:00
16 changed files with 456 additions and 235 deletions
Showing only changes of commit 9aca86af0c - Show all commits

View File

@ -239,6 +239,7 @@ int Shred::iRewindDrive(fileDescriptor file)
if (0 != lseek(file, 0L, SEEK_SET))
{
perror("unable to rewind drive");
Logger::logThis()->info("Unable to rewind drive! - fileDescriptor: " + to_string(file));
return -1;
}
else
@ -254,6 +255,7 @@ long Shred::getDriveSizeInBytes(fileDescriptor file)
if (liDriveSizeTmp == -1)
{
perror("unable to get drive size");
Logger::logThis()->info("Unable to get drive size! - fileDescriptor: " + to_string(file));
return 0L;
}