Continued:
authorRoland Häder <roland@mxchange.org>
Fri, 3 Mar 2023 12:48:19 +0000 (13:48 +0100)
committerRoland Häder <roland@mxchange.org>
Fri, 3 Mar 2023 12:50:32 +0000 (13:50 +0100)
- that is the maximum count
- added missing variable for mask

framework/main/classes/file_directories/binary/class_BaseBinaryFile.php

index cb53584ff4af7017cf99723c2cd6686c4d1323c6..1e2215a3850e9cf9c40466b960e9db01c2e6b346 100644 (file)
@@ -264,7 +264,7 @@ abstract class BaseBinaryFile extends BaseAbstractFile implements BinaryFile {
                }
 
                // Very simple to do ...
-               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugMessage(sprintf('BASE-BINARY-FILE: self:configCache[%s_pre_allocate_count]()=%d', count(self::$configCache[$type . '_pre_allocate_count'])));
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugMessage(sprintf('BASE-BINARY-FILE: self:configCache[%s_pre_allocate_count]=%d', $type, self::$configCache[$type . '_pre_allocate_count']));
                for ($idx = 0; $idx < self::$configCache[$type . '_pre_allocate_count']; $idx++) {
                        // Calculate start/end positions
                        $startPosition = $idx * $minimumBlockLength;