Skip to content

Conversation

MacroModel
Copy link
Collaborator

  • Updated file_size function to use a template parameter for NT family file size retrieval.
  • Replaced direct socket calls with ::fast_io::noexcept_call in POSIX networking functions to improve error handling.
  • Introduced a find_struct_guard for automatic resource management in Win32 directory handling.
  • Added win32_9xa_dir_file_status_impl to retrieve file status for Win32 9xa directory handles, enhancing compatibility with POSIX file status functions.

MacroModel and others added 7 commits September 22, 2025 00:04
- Updated `file_size` function to use a template parameter for NT family file size retrieval.
- Replaced direct socket calls with `::fast_io::noexcept_call` in POSIX networking functions to improve error handling.
- Introduced a `find_struct_guard` for automatic resource management in Win32 directory handling.
- Added `win32_9xa_dir_file_status_impl` to retrieve file status for Win32 9xa directory handles, enhancing compatibility with POSIX file status functions.
- Added references for `kernel_timespec64` in `posix_at.h`.
- Updated `calculate_nt_open_mode` in `nt.h` to include `FILE_WRITE_ATTRIBUTES`.
- Renamed read and write functions in `win32.h` for clarity and to reflect their specific implementations.
- Adjusted `posix_pread_bytes_impl` and `posix_pwrite_bytes_impl` to use operations module functions for Windows 9x compatibility.
- Adjusted spacing in conditional statements for consistency.
- Enhanced error handling in POSIX pipe setup by ensuring proper exception throwing.
- No functional changes; focus on code clarity and maintainability.
@trcrsired trcrsired merged commit d2796f2 into cppfastio:next Sep 29, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants