From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55094 invoked by alias); 10 Apr 2015 10:14:45 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 55051 invoked by uid 48); 10 Apr 2015 10:14:41 -0000 From: "nszabolcs at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/18234] New: st_atim, st_mtim, st_ctim stat struct members are missing on aarch64 Date: Fri, 10 Apr 2015 10:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nszabolcs at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-04/txt/msg00047.txt.bz2 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 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.