| 7 | | Unfortunately that had to be removed because of some high memory issue. |
| | 7 | Unfortunately that had to be removed because of some high memory issue, see: |
| | 8 | |
| | 9 | "ifsfile.c", FS_READ and FS_WRITE: |
| | 10 | |
| | 11 | |
| | 12 | {{{ |
| | 13 | #if 0 |
| | 14 | /* |
| | 15 | The following code is fast, but is not compatible |
| | 16 | with OBJ_ANY attribute |
| | 17 | */ |
| | 18 | rc = ReadSector(pVolInfo, ulClusterSector,usSectorsToRead,pBufPosition, usIOFlag); |
| | 19 | if (rc) |
| | 20 | { |
| | 21 | goto FS_READEXIT; |
| | 22 | } |
| | 23 | pBufPosition += (USHORT)ulCurrBytesToRead; |
| | 24 | pos += (USHORT)ulCurrBytesToRead; |
| | 25 | usBytesRead += (USHORT)ulCurrBytesToRead; |
| | 26 | usBytesToRead -= (USHORT)ulCurrBytesToRead; |
| | 27 | usAdjacentClusters = 1; |
| | 28 | pOpenInfo->ulCurCluster = ulNextCluster; |
| | 29 | #else |
| | 30 | }}} |
| | 31 | |