mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Documentation tweaks (re: cd8c48cc
)
The information about an out of memory error does not apply to the version of the PR that was eventually committed since it does not use getcwd() which might cause such an error. See https://github.com/ksh93/ksh/pull/358#issuecomment-986294934
This commit is contained in:
parent
cd8c48cc5a
commit
0d2d6bb47b
2 changed files with 2 additions and 5 deletions
|
@ -441,7 +441,7 @@ const char sh_optbuiltin[] =
|
|||
;
|
||||
|
||||
const char sh_optcd[] =
|
||||
"[-1c?\n@(#)$Id: cd (ksh 93u+m) 2021-12-02 $\n]"
|
||||
"[-1c?\n@(#)$Id: cd (ksh 93u+m) 2021-12-05 $\n]"
|
||||
"[--catalog?" SH_DICT "]"
|
||||
"[+NAME?cd - change working directory ]"
|
||||
"[+DESCRIPTION?\bcd\b changes the current working directory of the "
|
||||
|
@ -484,8 +484,7 @@ const char sh_optcd[] =
|
|||
"components are expanded in the resulting directory name.]"
|
||||
"[e?If the \b-P\b option is in effect and the correct \bPWD\b cannot be "
|
||||
"determined, exit with status 1. All other errors encountered while "
|
||||
"both \b-e\b and \b-P\b are active result in exit status >1 (i.e., "
|
||||
"exit status 2 unless an out of memory error occurred).]"
|
||||
"both \b-e\b and \b-P\b are active result in exit status >1.]"
|
||||
"\n"
|
||||
"\n[directory]\n"
|
||||
"old new\n"
|
||||
|
|
|
@ -5857,8 +5857,6 @@ could not be determined after successfully changing the directory,
|
|||
will return with exit status one and produce no output.
|
||||
If any other error occurs while both flags are active,
|
||||
the exit status is greater than one.
|
||||
This means the exit status is effectively
|
||||
two unless an out of memory error occurs.
|
||||
.sp .5
|
||||
The
|
||||
.B cd\^
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue