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 933516 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.
[patch]
ksh-20120801-sfdc01181445.patch
ksh-20120801-sfdc01181445.patch (text/plain), 1.11 KB, created by
Paulo Andrade
on 2014-09-01 19:39:36 UTC
(
hide
)
Description:
ksh-20120801-sfdc01181445.patch
Filename:
MIME Type:
Creator:
Paulo Andrade
Created:
2014-09-01 19:39:36 UTC
Size:
1.11 KB
patch
obsolete
>diff -up ksh-20120801/src/cmd/ksh93/sh/path.c.orig ksh-20120801/src/cmd/ksh93/sh/path.c >--- ksh-20120801/src/cmd/ksh93/sh/path.c.orig 2014-09-01 15:08:06.738969962 -0300 >+++ ksh-20120801/src/cmd/ksh93/sh/path.c 2014-09-01 15:13:51.321459978 -0300 >@@ -229,13 +229,12 @@ static pid_t path_xargs(Shell_t *shp,con > /* > * make sure PWD is set up correctly > * Return the present working directory >- * Invokes getcwd() if flag==0 and if necessary >+ * Invokes getcwd() if necessary > * Sets the PWD variable to this value > */ > char *path_pwd(Shell_t *shp,int flag) > { > register char *cp; >- register char *dfault = (char*)e_dot; > register int count = 0; > if(shp->pwd) > return((char*)shp->pwd); >@@ -254,11 +253,6 @@ char *path_pwd(Shell_t *shp,int flag) > cp = "/"; > break; > case 3: >- cp = (char*)e_crondir; >- if(flag) /* skip next case when non-zero flag */ >- ++count; >- break; >- case 4: > { > if(cp=getcwd(NIL(char*),0)) > { >@@ -269,8 +263,6 @@ char *path_pwd(Shell_t *shp,int flag) > } > break; > } >- case 5: >- return(dfault); > } > if(cp && *cp=='/' && test_inode(cp,e_dot)) > break;
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 1135573
:
932743
|
932746
| 933516