mc/tests/lib
Sergei Trofimovich 83563af6f7 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 16:24:44 +03:00
..
mcconfig Ticket #2732: tests/lib/vfs/Makefile.am: drop muldefs from CFLAGS 2012-02-13 16:24:34 +03:00
search Ticket 1551: Update GPL version from 2 to 3 2011-10-18 14:08:34 +03:00
vfs Ticket #2732: fix vfs test build failure on alpha 2012-02-13 16:24:44 +03:00
library_independ.c Ticket 1551: Update GPL version from 2 to 3 2011-10-18 14:08:34 +03:00
Makefile.am Ticket 2570: Code cleanup 2011-07-11 20:23:44 +03:00
mc_build_filename.c Ticket 1551: Update GPL version from 2 to 3 2011-10-18 14:08:34 +03:00
serialize.c Ticket 1551: Update GPL version from 2 to 3 2011-10-18 14:08:34 +03:00
x_basename.c Ticket 1551: Update GPL version from 2 to 3 2011-10-18 14:08:34 +03:00