You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix nt no_block
* Add readlinkat implementation for POSIX and Win32 APIs
- Introduced `readlinkat` functionality in both POSIX and Win32 environments.
- Added new `posix_readlinkat` and `win32_9xa_readlinkat` functions to handle symbolic link resolution.
- Updated relevant headers and added error handling for invalid paths.
- Enhanced the `dos_readlinkat_impl` to manage DOS-specific behavior for symbolic links.
- Included a new example demonstrating the usage of `readlinkat` in `examples/0036.at/readlink.cc`.
* Update function signature for path concatenation in Win32 platform header
- Modified the signature of `concat_tlc_win32_9xa_path_uncheck_whether_exist` to improve clarity and maintain consistency in the codebase.
* Refactor error handling in Win32 headers
- Updated error handling in multiple Win32 header files to replace the error code `3221225530` with a more generic error code `3` for invalid DOS filenames.
- This change enhances consistency across the error handling mechanisms in the Win32 platform implementation.
* [fast_io] not finished
* Refactor access mode handling in filesystem headers
- Updated `dos_faccessat` and `native_faccessat` functions to correctly use the `access_how` parameter instead of `dos_at_flags` for mode handling.
- Adjusted conditional checks in `nt_at.h` and `win32_9xa_at.h` to ensure proper evaluation of `symlink_nofollow` flag.
- Improved clarity and consistency in the handling of file access modes across different platform implementations.
* Enhance resource management in DOS filesystem handling
- Added best-effort closing of file descriptors in the destructor and assignment operators to prevent resource leaks.
- Improved safety checks for file descriptor validity before closing.
- Ensured consistent handling of directory pointers and file descriptors across multiple methods.
* Implement readlinkat functionality for NT filesystem
- Added a new implementation of `nt_readlinkat_impl` to handle symbolic link resolution in the NT filesystem.
- Enhanced error handling for symbolic links, including checks for reparse tags.
- Refactored function signatures for consistency and clarity in the handling of directory handles and paths.
- Improved overall structure and readability of the code in `nt_at.h`.
* Update nt_at.h
* fix
0 commit comments