mc/tests/lib/vfs
Sergei Trofimovich 931819039e Ticket #2732: fix vfs test build failure on alpha
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>
2012-02-13 14:18:31 +03:00
..
canonicalize_pathname.c Ticket 1551: Update GPL version from 2 to 3 2011-10-18 14:08:34 +03:00
current_dir.c Ticket 1551: Update GPL version from 2 to 3 2011-10-18 14:08:34 +03:00
Makefile.am Ticket #2732: tests/lib/vfs/Makefile.am: drop muldefs from CFLAGS 2012-02-13 14:18:16 +03:00
mc.charsets Ticket 2570: Code cleanup 2011-07-11 20:23:44 +03:00
path_recode.c Ticket 1551: Update GPL version from 2 to 3 2011-10-18 14:08:34 +03:00
path_serialize.c Ticket 1551: Update GPL version from 2 to 3 2011-10-18 14:08:34 +03:00
vfs_parse_ls_lga.c Ticket #2732: fix vfs test build failure on alpha 2012-02-13 14:18:31 +03:00
vfs_path_string_convert.c Ticket 1551: Update GPL version from 2 to 3 2011-10-18 14:08:34 +03:00
vfs_prefix_to_class.c Ticket 1551: Update GPL version from 2 to 3 2011-10-18 14:08:34 +03:00
vfs_s_get_path.c Ticket 1551: Update GPL version from 2 to 3 2011-10-18 14:08:34 +03:00
vfs_split.c Ticket 1551: Update GPL version from 2 to 3 2011-10-18 14:08:34 +03:00