Peter Barker
2a18e59e96
GCS_MAVLink: do not double the separator when listing the root
...
The path of the directory being listed is put in front of each entry's
name in order to stat it, with a "/" between. The root's path is already
just "/", so that produced "//name".
Most filesystems collapse that - FatFs skips duplicated separators
(ff.c:3019) and so does littlefs (lfs.c:1503) - but SITL's map_filename()
strips exactly one leading "/", so "//name" escapes to the host root. The
stat then fails, and a failed stat drops the entry, so every file in the
root went missing and the listing came back with directories only.
ArduPilot's own backend_by_path() also strips exactly one leading slash,
so a doubled separator would likewise miss a virtual backend.
2026-09-12 15:00:50 +10:00
..
2026-08-31 08:18:26 +10:00
2026-08-31 08:18:26 +10:00
2026-08-22 21:38:02 +01:00
2026-08-28 17:21:29 +10:00
2026-08-22 21:38:02 +01:00
2026-08-26 23:14:36 +10:00
2026-08-31 08:18:26 +10:00
2026-08-18 21:06:43 -07:00
2026-07-29 18:18:35 +10:00
2026-09-08 13:09:20 +10:00
2026-08-26 23:14:36 +10:00
2026-09-05 09:08:06 +10:00
2026-09-09 06:34:01 +10:00
2026-08-18 10:25:18 +10:00
2026-08-11 13:24:54 +10:00
2026-08-31 12:21:17 +10:00
2026-09-01 20:49:36 +10:00
2026-08-31 08:18:26 +10:00
2026-09-05 09:08:00 +10:00
2026-09-04 20:39:10 +10:00
2026-07-30 23:50:11 +10:00
2026-08-26 09:47:38 +10:00
2026-09-07 11:37:32 +10:00
2026-08-11 13:24:54 +10:00
2026-08-04 11:59:14 +10:00
2026-08-04 11:59:14 +10:00
2026-08-05 17:53:47 +10:00
2026-08-27 14:01:54 +10:00
2026-08-25 10:46:36 +10:00
2026-09-07 11:37:01 +10:00
2026-08-25 15:41:49 +01:00
2026-09-05 06:26:33 +10:00
2026-09-01 20:09:07 +09:00
2026-09-05 06:26:33 +10:00
2026-09-03 12:19:40 +10:00
2026-09-11 10:29:57 +01:00
2026-08-27 18:50:01 +10:00
2026-09-04 09:34:10 +10:00
2026-08-07 19:24:04 +10:00
2026-09-08 10:30:25 +10:00
2026-07-29 18:18:35 +10:00
2026-08-31 08:18:26 +10:00
2026-09-10 12:46:52 +10:00
2026-08-31 08:18:26 +10:00
2026-09-08 21:13:26 +10:00
2026-09-05 09:08:20 +10:00
2026-08-31 08:18:26 +10:00
2026-08-31 08:18:26 +10:00
2026-09-03 06:44:18 +09:00
2026-08-25 15:41:49 +01:00
2026-09-02 15:58:06 +10:00
2026-08-03 11:25:00 +10:00
2026-09-07 11:37:32 +10:00
2026-09-07 11:37:32 +10:00
2026-08-04 11:59:14 +10:00
2026-09-10 18:37:55 +10:00
2026-08-26 17:54:30 +10:00
2026-08-25 12:58:58 +10:00
2026-09-05 06:26:33 +10:00
2026-08-04 11:59:14 +10:00
2026-09-05 19:09:31 +10:00
2026-09-03 12:19:40 +10:00
2026-07-29 17:16:29 +10:00
2026-09-07 11:37:23 +10:00
2026-08-26 23:14:36 +10:00
2026-09-05 09:08:00 +10:00
2026-09-08 10:34:59 +10:00
2026-08-31 08:18:26 +10:00
2026-07-30 23:49:59 +10:00
2026-07-28 13:48:28 +10:00
2026-08-06 09:05:41 +10:00
2026-08-11 13:24:54 +10:00
2026-09-01 11:17:50 +10:00
2026-08-25 15:41:49 +01:00
2026-09-11 10:56:05 +01:00
2026-08-04 11:59:14 +10:00
2026-08-26 23:14:36 +10:00
2026-09-01 20:49:36 +10:00
2026-08-27 14:01:54 +10:00
2026-08-31 08:18:26 +10:00
2026-09-12 15:00:50 +10:00
2026-09-01 20:49:36 +10:00
2026-09-05 13:58:13 +10:00
2026-09-01 20:49:36 +10:00