This is the mail archive of the glibc-cvs@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]

GNU C Library master sources branch master updated. glibc-2.28.9000-281-g58bb655


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  58bb655acb3afc7ed13354eda307019604f77137 (commit)
      from  88b26b7e9126bc62793e3a231da94546dffd6214 (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 -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=58bb655acb3afc7ed13354eda307019604f77137

commit 58bb655acb3afc7ed13354eda307019604f77137
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Nov 11 18:55:24 2018 +0100

    hurd: Document dtable_cloexec size convention.
    
    	* sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
    	of dtablesize for allocating dtable_cloexec.

diff --git a/ChangeLog b/ChangeLog
index ae5b4a1..e6f42b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,8 @@
 	* hurd/Versions (_hurd_port_move): Export function.
 	* sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
 	symbol.
+	* sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
+	of dtablesize for allocating dtable_cloexec.
 
 2018-11-09  Martin Sebor  <msebor@redhat.com>
 
diff --git a/sysdeps/mach/hurd/spawni.c b/sysdeps/mach/hurd/spawni.c
index c08f2a5..b98e991 100644
--- a/sysdeps/mach/hurd/spawni.c
+++ b/sysdeps/mach/hurd/spawni.c
@@ -405,7 +405,7 @@ __spawni (pid_t *pid, const char *file,
   dtable = __alloca (dtablesize * sizeof (dtable[0]));
   ulink_dtable = __alloca (dtablesize * sizeof (ulink_dtable[0]));
   dtable_cells = __alloca (dtablesize * sizeof (dtable_cells[0]));
-  dtable_cloexec = __alloca (dtablesize);
+  dtable_cloexec = __alloca (orig_dtablesize);
   for (i = 0; i < dtablesize; ++i)
     {
       struct hurd_fd *const d = _hurd_dtable[i];

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

Summary of changes:
 ChangeLog                  |    2 ++
 sysdeps/mach/hurd/spawni.c |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


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