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 932743 Details for
Bug 1135573
ksh: Problem with 'cd' from a forked C program
[?]
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.
This patch partially corrects the problem
ksh-20120801-sfdc01181445.patch (text/plain), 596 bytes, created by
Paulo Andrade
on 2014-08-29 16:26:36 UTC
(
hide
)
Description:
This patch partially corrects the problem
Filename:
MIME Type:
Creator:
Paulo Andrade
Created:
2014-08-29 16:26:36 UTC
Size:
596 bytes
patch
obsolete
>diff -up ksh-20120801/src/cmd/ksh93/bltins/cd_pwd.c.orig ksh-20120801/src/cmd/ksh93/bltins/cd_pwd.c >--- ksh-20120801/src/cmd/ksh93/bltins/cd_pwd.c.orig 2014-08-29 12:21:10.723873074 -0300 >+++ ksh-20120801/src/cmd/ksh93/bltins/cd_pwd.c 2014-08-29 12:42:53.665036449 -0300 >@@ -231,6 +231,11 @@ int b_cd(int argc, char *argv[],Shbltin_ > } > if(n) > { >+ /* The sequence below will remove dirnames from >+ * oldpwd to parse .., so, need a fully specified >+ * oldpwd */ >+ if (*oldpwd != '/') >+ oldpwd = path_pwd(shp,0); > cdpath = 0; > sp = oldpwd + strlen(oldpwd); > while(n--)
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 Raw
Actions:
View
Attachments on
bug 1135573
: 932743 |
932746
|
933516