From: Paul Pluzhnikov Date: Sat, 11 Jun 2016 21:59:27 +0000 (-0700) Subject: Fix rt/tst-aio64.c as well, and mention login/tst-utmp.c in ChangeLog X-Git-Tag: glibc-2.24~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0677af20bb69b91469f0a89aa54bec559a5907e2;p=thirdparty%2Fglibc.git Fix rt/tst-aio64.c as well, and mention login/tst-utmp.c in ChangeLog (it was fixed in previous commit). --- diff --git a/ChangeLog b/ChangeLog index 88a7b6392bd..36c3437b308 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,11 +7,13 @@ * io/tst-fcntl.c (do_prepare): Likewise. * libio/tst-fopenloc.c (do_bz17916): Likewise. * libio/tst-mmap2-eofsync.c (do_prepare): Likewise. + * login/tst-utmp.c (do_prepare): Likewise. * posix/tst-exec.c (do_prepare): Likewise. * posix/tst-pathconf.c (prepare): Likewise. * posix/tst-spawn.c (do_prepare): Likewise. * posix/tst-truncate.c (do_prepare): Likewise. * rt/tst-aio.c (do_prepare): Likewise. + * rt/tst-aio64.c (do_prepare): Likewise. 2016-06-11 Florian Weimer diff --git a/rt/tst-aio64.c b/rt/tst-aio64.c index f67485c8786..5a47e4d0d23 100644 --- a/rt/tst-aio64.c +++ b/rt/tst-aio64.c @@ -52,7 +52,7 @@ do_prepare (int argc, char *argv[]) size_t name_len; name_len = strlen (test_dir); - name = malloc (name_len + sizeof ("/aioXXXXXX")); + name = xmalloc (name_len + sizeof ("/aioXXXXXX")); mempcpy (mempcpy (name, test_dir, name_len), "/aioXXXXXX", sizeof ("/aioXXXXXX"));