mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
83563af6f7
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> |
||
---|---|---|
.. | ||
mcconfig | ||
search | ||
vfs | ||
library_independ.c | ||
Makefile.am | ||
mc_build_filename.c | ||
serialize.c | ||
x_basename.c |