From: Paul Eggert Date: Thu, 1 Jan 2026 21:19:24 +0000 (-0800) Subject: Pass glibc pre-commit checks X-Git-Tag: glibc-2.43~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9bf6a2a90fe99c2766004128757a1b24259d194;p=thirdparty%2Fglibc.git Pass glibc pre-commit checks This is needed for the next patch which updates copyright dates. * elf/sprof.c: * sysdeps/unix/sysv/linux/tst-pidfd_getinfo.c: Remove trailing white space. * misc/tst-atomic.c: Remove trailing empty line. --- diff --git a/elf/sprof.c b/elf/sprof.c index 513e0470b2..ec4ae91a08 100644 --- a/elf/sprof.c +++ b/elf/sprof.c @@ -681,7 +681,7 @@ load_shobj (const char *name) size_t size; if (INT_MULTIPLY_WRAPV (ehdr2.e_shnum, sizeof (ElfW(Shdr)), &size)) error (EXIT_FAILURE, errno, _("too many section headers")); - + ElfW(Shdr) *shdr2 = (ElfW(Shdr) *) alloca (size); PCHECK (size, ehdr2.e_shoff); if (pread (fd2, shdr2, size, ehdr2.e_shoff) != size) diff --git a/misc/tst-atomic.c b/misc/tst-atomic.c index 04eff6eecd..93e5cdc555 100644 --- a/misc/tst-atomic.c +++ b/misc/tst-atomic.c @@ -252,4 +252,3 @@ do_test (void) } #include - diff --git a/sysdeps/unix/sysv/linux/tst-pidfd_getinfo.c b/sysdeps/unix/sysv/linux/tst-pidfd_getinfo.c index f4a77816b4..132c53f5be 100644 --- a/sysdeps/unix/sysv/linux/tst-pidfd_getinfo.c +++ b/sysdeps/unix/sysv/linux/tst-pidfd_getinfo.c @@ -51,7 +51,7 @@ do_test (void) else FAIL_EXIT1 ("ioctl (PIDFD_GET_INFO) failed: %m"); } - + TEST_COMPARE (info.pid, pid); TEST_COMPARE (info.ppid, getppid ()); TEST_COMPARE (info.ruid, getuid ());