(fc) Cleanup in FileChannel/FileDispatcher native implementation [win]

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 9
    • Affects Version/s: None
    • Component/s: core-libs
    • b33

        There can be different Windows API used in some places, which will make the code a bit cleaner.

        - GetFileSizeEx() instead of GetFileSize(),
        - SetFilePointerEx() vs SetFilePointer(),
        - Setting position through OVERLAPPED struct for ReadFile()/WriteFile().

        The already existing tests can be used to make sure nothing is broken with the change.

              Assignee:
              Ivan Gerasimov
              Reporter:
              Ivan Gerasimov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: