mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
931819039e
The test fails to compile on alpha: > CC vfs_parse_ls_lga.o > vfs_parse_ls_lga.c: In function ‘test_vfs_parse_ls_lga’: > vfs_parse_ls_lga.c:174:9: error: unknown field ‘st_atime’ specified in initializer > vfs_parse_ls_lga.c:175:9: error: unknown field ‘st_mtime’ specified in initializer as st_atime on alpha in not just a field name: struct stat { ... __extension__ union { struct timespec st_atim; struct { __time_t st_atime; unsigned long st_atimensec; }; }; __extension__ union { struct timespec st_mtim; struct { __time_t st_mtime; unsigned long st_mtimensec; }; }; __extension__ union { struct timespec st_ctim; struct { __time_t st_ctime; unsigned long st_ctimensec; }; }; }; The fix switches to old-style struct initialization. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> |
||
---|---|---|
.. | ||
canonicalize_pathname.c | ||
current_dir.c | ||
Makefile.am | ||
mc.charsets | ||
path_recode.c | ||
path_serialize.c | ||
vfs_parse_ls_lga.c | ||
vfs_path_string_convert.c | ||
vfs_prefix_to_class.c | ||
vfs_s_get_path.c | ||
vfs_split.c |