Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 539080 Details for
Bug 642492
sys-apps/coreutils-8.29: tests/rm/rm-readdir-fail fails on sparc (SIGBUS)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix the issue
rm-sigbus.patch (text/plain), 728 bytes, created by
Rolf Eike Beer
on 2018-07-10 18:59:20 UTC
(
hide
)
Description:
patch to fix the issue
Filename:
MIME Type:
Creator:
Rolf Eike Beer
Created:
2018-07-10 18:59:20 UTC
Size:
728 bytes
patch
obsolete
>From: Rolf Eike Beer <eike@sf-mail.de> >Date: Tue, 10 Jul 2018 20:14:18 +0200 >Subject: [PATCH] fix SIGBUS because of unaligned access in rm > >This crashes the rm-readdir-fail test on Gentoo Sparc. > >--- a/lib/fts.c 2018-06-24 06:52:06.000000000 +0200 >+++ b/lib/fts.c 2018-07-10 14:08:32.382614958 +0200 >@@ -1551,7 +1551,7 @@ mem1: saved_er > > /* Store dirent.d_ino, in case we need to sort > entries before processing them. */ >- p->fts_statp->st_ino = D_INO (dp); >+ memcpy(&p->fts_statp->st_ino, &dp, sizeof(p->fts_statp->st_ino)); > > /* Build a file name for fts_stat to stat. */ > if (ISSET(FTS_NOCHDIR)) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 642492
:
511820
|
539034
| 539080