summaryrefslogtreecommitdiff
path: root/src/basic/chase.c
Commit message (Expand)AuthorAgeFilesLines
* chase: replace path_prefix_root_cwd() with chaseat_prefix_root()Yu Watanabe2023-04-191-0/+31
* chase: prefix with the root directory only when it is not "/"Yu Watanabe2023-04-191-8/+16
* chase: drop repeated call of empty_to_root()Yu Watanabe2023-04-191-13/+12
* chase: update outdated comment about result pathYu Watanabe2023-04-191-6/+20
* chase: make the result absolute when a symlink is absoluteYu Watanabe2023-04-191-0/+5
* chase: make chaseat() provides absolute path also when dir_fd points to the r...Yu Watanabe2023-04-191-2/+3
* chase: CHASE_MKDIR_0755 requires CHASE_NONEXISTENT and/or CHASE_PARENTYu Watanabe2023-04-141-0/+1
* chase: use FLAGS_SET() macroYu Watanabe2023-04-141-17/+17
* chase: drop redundant call of delete_trailing_chars()Yu Watanabe2023-04-111-8/+6
* chase: use dir_fd_is_root() to check if fd points to the root directoryYu Watanabe2023-04-101-3/+9
* chase: use stat_inode_same() at one more placeYu Watanabe2023-04-101-1/+1
* chase: drop one redundant call of fstat()Yu Watanabe2023-04-101-1/+1
* chase: make struct stat always sync with the opened fdYu Watanabe2023-04-101-25/+21
* chase: drop unnecessary conditions for bufferYu Watanabe2023-04-101-6/+4
* fd-util: introduce dir_fd_is_root_or_cwd()Yu Watanabe2023-04-051-4/+1
* chase: fix error handlingYu Watanabe2023-04-041-2/+2
* Merge pull request #27064 from DaanDeMeyer/chase-fixesDaan De Meyer2023-03-301-104/+25
|\
| * chase: Simplify chase_and_open() and chase_and_openat()Daan De Meyer2023-03-301-14/+12
| * chase: Fix error code checkDaan De Meyer2023-03-301-2/+2
| * chase: Fix formattingDaan De Meyer2023-03-301-90/+13
* | Merge pull request #27063 from yuwata/chase-gracefulDaan De Meyer2023-03-301-3/+17
|\ \ | |/ |/|
| * chase: add CHASE_AT_RESOLVE_IN_ROOT only when it is necessaryYu Watanabe2023-03-301-3/+3
| * chase: drop CHASE_AT_RESOLVE_IN_ROOT when AT_FDCWD or root dir fd is specifiedYu Watanabe2023-03-301-0/+14
* | chase: fix indentationYu Watanabe2023-03-301-3/+3
* | chase: fix commentYu Watanabe2023-03-301-1/+1
|/
* chase-symlinks: Add chase_and_open_parent() + at() variantDaan De Meyer2023-03-261-0/+29
* chase-symlinks: Allow optional path with CHASE_EXTRACT_FILENAMEDaan De Meyer2023-03-241-3/+0
* chase-symlinks: Rename chase_symlinks() to chase()Daan De Meyer2023-03-241-0/+1008