This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/18234] New: st_atim, st_mtim, st_ctim stat struct members are missing on aarch64
- From: "nszabolcs at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 10 Apr 2015 10:14:41 +0000
- Subject: [Bug libc/18234] New: st_atim, st_mtim, st_ctim stat struct members are missing on aarch64
- Auto-submitted: auto-generated
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.