Opened 19 months ago

Last modified 9 months ago

#65913 closed defect

legacy-support: tests: failure due to fstatat64 — at Initial Version

Reported by: mascguy (Christopher Nielsen) Owned by: cjones051073 (Chris Jones)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: kencu (Ken), michaelld (Michael Dickens)
Port: legacy-support

Description

Perhaps this varies depending on which macOS release the tests are run on. But at least for 10.15, they fail with the following error:

int     stat64(const char *, struct stat64 *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_6, __IPHONE_NA, __IPHONE_NA);
        ^
test/test_fstatat64.c:93:12: error: implicit declaration of function 'fstatat64' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
  if (0 != fstatat64 (AT_FDCWD, argv[0], &atfdcwd_stat64, 0)) {
           ^

Change History (0)

Note: See TracTickets for help on using tickets.