Michal Privoznik 4d8ebbfee8 virschematest: Replace g_lstat() with virFileIsLink()
Inside of virschematest.c there's testSchemaDir() which iterates
over dentries in given directory but skips some files: those
without ".xml" suffix, hidden files, symlinks, etc.

Now, symlinks are detected as g_lstat() + S_ISLNK() combo which
works, except it fails to compile on mingw where is no concept of
symlinks. Replace the combo with a call to virFileIsLink() which
at least allows us to compile cleanly on mingw.

Fixes: f997fcca71a16b102e6ee663a3fb86bed8de9d7d
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
2024-08-28 08:46:16 +02:00
..
2023-04-06 12:48:22 +02:00
2023-12-14 17:10:22 +01:00
2024-03-12 17:37:51 +01:00
2024-03-12 17:37:51 +01:00
2024-03-21 14:42:27 +01:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2024-03-14 15:17:48 +01:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2023-12-14 17:10:22 +01:00
2023-04-06 12:48:22 +02:00
2024-03-14 15:17:48 +01:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2024-03-14 15:17:48 +01:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00
2024-03-14 15:17:48 +01:00
2022-06-16 06:43:58 +02:00
2023-03-13 13:29:07 +01:00
2024-03-14 15:17:48 +01:00
2024-05-16 09:03:48 +02:00
2024-03-14 15:17:48 +01:00
2022-06-16 06:43:58 +02:00
2024-03-14 15:17:48 +01:00
2022-06-16 06:43:58 +02:00
2022-06-16 06:43:58 +02:00