[Bug libc/18234] New: st_atim, st_mtim, st_ctim stat struct members are missing on aarch64
nszabolcs at gmail dot com
sourceware-bugzilla@sourceware.org
Fri Apr 10 10:14:00 GMT 2015
https://sourceware.org/bugzilla/show_bug.cgi?id=18234
Bug ID: 18234
Summary: st_atim, st_mtim, st_ctim stat struct members are
missing on aarch64
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: nszabolcs at gmail dot com
CC: drepper.fsp at gmail dot com
the generic definition of struct stat on linux seems to miss members required
by the standard (sysdeps/unix/sysv/linux/generic/bits/stat.h)
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_stat.h.html
the following code fails on aarch64 linux:
define _POSIX_C_SOURCE 200809L
#include <sys/stat.h>
void f()
{
struct stat x;
struct timespec *p = &x.st_atim; // error: 'struct stat' has no member named
'st_atim'
struct timespec *q = &x.st_mtim;
struct timespec *r = &x.st_ctim;
}
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list