Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 606312 Details for
Bug 847102
source command fails with single-line if-statement
[?]
New
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.rh83 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]
Proposed patch to fix the source command
source-fix.patch (text/plain), 700 bytes, created by
Roman Kollár
on 2012-08-22 15:28:15 UTC
(
hide
)
Description:
Proposed patch to fix the source command
Filename:
MIME Type:
Creator:
Roman Kollár
Created:
2012-08-22 15:28:15 UTC
Size:
700 bytes
patch
obsolete
>diff -up tcsh-6.17.00/sh.func.c.orig tcsh-6.17.00/sh.func.c >--- tcsh-6.17.00/sh.func.c.orig 2012-08-22 17:04:39.888542028 +0200 >+++ tcsh-6.17.00/sh.func.c 2012-08-22 17:07:08.267534057 +0200 >@@ -143,7 +143,14 @@ func(struct command *t, const struct bil > stderror(ERR_NAME | ERR_TOOFEW); > if (i > bp->maxargs) > stderror(ERR_NAME | ERR_TOOMANY); >- (*bp->bfunct) (t->t_dcom, t); >+ /* >+ * Exception for dosource() which now(history-file-locking patch, #658074) needs third argument >+ * added by Roman Kollar <rkollar@redhat.com> >+ */ >+ if(bp->bfunct == (bfunc_t) dosource) >+ dosource(t->t_dcom, t, 0); >+ else >+ (*bp->bfunct) (t->t_dcom, t); > } > > /*ARGSUSED*/
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 847102
:
606312
|
606398