Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 333210 Details for
Bug 447810
FreeBSD: open() on a fifo can fail with -EINTR even when using SA_RESTART (app-shells/bash sometimes fails `read`)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sample patch for app-shells/bash-4.2_p39-r1
bash-4.2-fbsd-EINTR.patch (text/plain), 413 bytes, created by
Yuta SATOH
on 2012-12-24 14:14:28 UTC
(
hide
)
Description:
sample patch for app-shells/bash-4.2_p39-r1
Filename:
MIME Type:
Creator:
Yuta SATOH
Created:
2012-12-24 14:14:28 UTC
Size:
413 bytes
patch
obsolete
>diff -Nur bash-4.2.orig/redir.c bash-4.2/redir.c >--- bash-4.2.orig/redir.c 2011-01-03 06:00:31.000000000 +0900 >+++ bash-4.2/redir.c 2012-12-24 20:17:22.000000000 +0900 >@@ -632,7 +632,9 @@ > } > else > { >- fd = open (filename, flags, mode); >+ do { >+ fd = open (filename, flags, mode); >+ } while ((fd < 0) && (errno == EINTR)); > #if defined (AFS) > if ((fd < 0) && (errno == EACCES)) > {
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 447810
:
332708
|
332710
|
332910
| 333210 |
335664
|
336266
|
336270