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/22321] sysconf(_SC_IOV_MAX) returns -1 on Linux


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

--- Comment #3 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, release/2.26/master has been updated
       via  2e78ea7a207e49a47a3448fbbc387d606141ec9d (commit)
      from  05155f0772a4befcc10da16ab64060ae7836ff7c (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=2e78ea7a207e49a47a3448fbbc387d606141ec9d

commit 2e78ea7a207e49a47a3448fbbc387d606141ec9d
Author: Florian Weimer <fweimer@redhat.com>
Date:   Fri Oct 20 04:10:15 2017 +0200

    sysconf: Fix missing definition of UIO_MAXIOV on Linux [BZ #22321]

    After commit 37f802f86400684c8d13403958b2c598721d6360 (Remove
    __need_IOV_MAX and __need_FOPEN_MAX), UIO_MAXIOV is no longer supplied
    (indirectly) through <bits/stdio_lim.h>, so sysdeps/posix/sysconf.c no
    longer sees the definition.

    (cherry picked from commit 63b4baa44e8d22501c433c4093aa3310f91b6aa2)

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

Summary of changes:
 ChangeLog                                          |   10 ++++++
 NEWS                                               |    1 +
 sysdeps/posix/sysconf.c                            |    1 +
 sysdeps/unix/sysv/linux/Makefile                   |    8 +++-
 .../unix/sysv/linux/tst-sysconf-iov_max-uapi.c     |   13 +++----
 .../unix/sysv/linux/tst-sysconf-iov_max.c          |   33 ++++++++-----------
 6 files changed, 38 insertions(+), 28 deletions(-)
 copy support/xpipe.c => sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c
(78%)
 copy debug/tst-ssp-1.c => sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c (59%)

-- 
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]