This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/20349] 64-bit value is passed differently in p{readv,writev}{64}


https://sourceware.org/bugzilla/show_bug.cgi?id=20349

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  cf1ad5b3add36790cbf58a3972c492a8f1632929 (commit)
      from  c10f90dcef42092a96007fed7e77f9d470e5bb76 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cf1ad5b3add36790cbf58a3972c492a8f1632929

commit cf1ad5b3add36790cbf58a3972c492a8f1632929
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Jul 11 15:32:10 2016 -0700

    X86-64: Define LO_HI_LONG to skip pos_h [BZ #20349]

    Define LO_HI_LONG to skip pos_h since it is ignored by kernel:

    static inline loff_t pos_from_hilo(unsigned long high, unsigned long low)
    {
     #define HALF_LONG_BITS (BITS_PER_LONG / 2)
            return (((loff_t)high << HALF_LONG_BITS) << HALF_LONG_BITS) | low;
    }

    where size of loff_t == size of long.

        [BZ #20349]
        * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                               |    5 +++++
 sysdeps/unix/sysv/linux/x86_64/sysdep.h |    4 ++++
 2 files changed, 9 insertions(+), 0 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]