Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 972126 Details for
Bug 1176670
Problem with alarm and IFS
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh92 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
ksh-20120801-ifstable.patch
ksh-20120801-ifstable.patch (text/plain), 897 bytes, created by
Paulo Andrade
on 2014-12-22 19:04:03 UTC
(
hide
)
Description:
ksh-20120801-ifstable.patch
Filename:
MIME Type:
Creator:
Paulo Andrade
Created:
2014-12-22 19:04:03 UTC
Size:
897 bytes
patch
obsolete
>diff -up ksh-20120801/src/cmd/ksh93/bltins/alarm.c.orig ksh-20120801/src/cmd/ksh93/bltins/alarm.c >--- ksh-20120801/src/cmd/ksh93/bltins/alarm.c.orig 2014-12-18 12:03:39.198461933 -0200 >+++ ksh-20120801/src/cmd/ksh93/bltins/alarm.c 2014-12-18 12:04:32.464421268 -0200 >@@ -130,6 +130,7 @@ void sh_timetraps(Shell_t *shp) > { > register struct tevent *tp, *tpnext; > register struct tevent *tptop; >+ char ifstable[256]; > while(1) > { > shp->sigflag[SIGALRM] &= ~SH_SIGALRM; >@@ -141,7 +142,11 @@ void sh_timetraps(Shell_t *shp) > { > tp->flags &= ~L_FLAG; > if(tp->action) >+ { >+ memcpy(ifstable,shp->ifstable,sizeof(ifstable)); > sh_fun(tp->action,tp->node,(char**)0); >+ memcpy(shp->ifstable,ifstable,sizeof(ifstable)); >+ } > tp->flags &= ~L_FLAG; > if(!tp->flags) > { >diff -up ksh-20120801/src/cmd/ksh93/sh/timers.c.orig ksh-20120801/src/cmd/ksh93/sh/timers.c
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 1176670
:
972117
|
972118
| 972126