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-28 14:28:35 +02:00
2023-07-06 11:59:41 +01:00
2023-07-12 20:05:18 +02:00
2023-07-29 21:58:29 +09:00
2023-07-14 15:56:29 +01:00
2023-07-13 11:12:00 +02:00
2023-07-28 14:28:35 +02:00
2023-07-16 11:32:54 +01:00
2023-06-06 03:35:28 +09:00
2023-06-22 15:33:56 +09:00
2023-07-28 19:34:03 +01:00
2023-07-13 11:12:00 +02:00
2023-07-10 14:26:51 +02:00
2023-07-21 18:59:26 +01:00
2023-07-28 19:34:03 +01:00
2023-07-28 19:34:03 +01:00
2023-07-06 12:20:04 +01:00
2023-07-14 16:59:34 +00:00
2023-07-10 16:39:16 +02:00
2023-07-28 14:28:35 +02:00
2023-07-14 14:06:51 +01:00
2023-06-01 06:48:47 +09:00
2023-07-04 23:15:36 +02:00
2023-07-28 14:28:35 +02:00
2023-07-28 19:34:03 +01:00
2023-07-21 21:11:04 +09:00
2023-06-20 18:40:30 +02:00
2023-05-31 13:15:53 +02:00
2023-07-02 11:10:12 +01:00
2023-07-28 19:34:03 +01:00
2023-07-28 19:34:03 +01:00
2023-07-12 21:48:04 +02:00
2023-07-06 00:06:25 +09:00
2023-07-19 07:24:36 +02:00
2023-07-28 19:34:03 +01:00
2023-07-29 12:15:38 +01:00
2023-07-28 19:34:03 +01:00
2023-07-10 16:39:16 +02:00
2023-07-12 20:05:18 +02:00
2023-07-10 16:39:16 +02:00
2023-07-13 11:40:15 +02:00
2023-07-12 20:05:18 +02:00
2023-07-29 12:15:38 +01:00
2023-06-22 17:07:59 -06:00
2023-07-02 11:10:12 +01:00
2023-06-01 06:48:47 +09:00
2023-07-21 11:04:39 +01:00
2023-06-28 21:58:17 +02:00
2023-07-28 19:34:03 +01:00
2023-06-01 06:47:48 +09:00
2023-07-04 23:15:36 +02:00
2023-07-28 19:34:03 +01:00
2023-07-28 19:34:03 +01:00
2023-07-20 17:37:27 +01:00
2023-07-29 11:25:05 +01:00
2023-07-12 20:05:18 +02:00
2023-07-27 12:30:40 +01:00
2023-07-14 22:49:01 +01:00
2023-07-10 16:40:30 +02:00
2023-07-13 11:12:00 +02:00
2023-07-28 19:34:03 +01:00
2023-07-04 23:15:36 +02:00
2023-07-28 19:34:03 +01:00
2023-07-29 12:15:38 +01:00
2023-07-06 11:59:41 +01:00
2023-07-28 14:28:35 +02:00
2023-07-04 23:15:36 +02:00
2023-07-29 11:25:05 +01:00
2023-05-31 13:15:53 +02:00
2023-07-02 11:10:12 +01:00
2023-06-28 22:13:13 +02:00
2023-07-28 19:34:03 +01:00
2023-07-29 19:57:35 +09:00
2023-05-31 13:15:53 +02:00
2023-06-22 15:33:56 +09:00
2023-05-31 13:15:53 +02:00
2023-06-22 18:59:24 +02:00
2023-07-24 15:43:11 +01:00
2023-06-01 19:15:10 +02:00
2023-07-28 19:34:03 +01:00