Files
systemd/src
Yu Watanabe 00a050b395 chase: reuse "done" to open fd of starting point
For readability that 'done' and 'fd' are always consistent with each other.

- dir_fd == AT_FDCWD:
  - path is absolute:
    - previous: fd = open("/")
    - current:  fd = openat(AT_FDCWD, "/")
  - path is relative:
    - previous: fd = openat(AT_FDCWD, ".")
    - current:  fd = openat(AT_FDCWD, ".")
- dir_fd >= 0:
  - dir_fd points to "/":
    - previous: fd = openat(dir_fd, ".")
    - current:  fd = openat(dir_fd, "/")
  - dir_fd does not point to "/":
    - previous: fd = openat(dir_fd, ".")
    - current:  fd = openat(dir_fd, ".")

Hence, this should not change any behavior. Just refactoring.
2023-07-29 21:58:29 +09:00
..
2023-06-08 16:44:15 +02:00
2023-07-13 11:12:00 +02:00
2023-06-22 15:33:56 +09:00
2023-06-01 06:48:47 +09:00
2023-07-21 21:11:04 +09:00
2023-07-02 11:10:12 +01:00
2023-07-02 11:10:12 +01:00
2023-06-01 06:48:47 +09:00
2023-07-13 11:12:00 +02:00