1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Various minor capitalization and typo fixes (#371)

This commit fixes various minor typos, punctuation errors and
corrects the capitalization of many names.
This commit is contained in:
Johnothan King 2021-12-12 13:40:38 -08:00 committed by Martijn Dekker
parent cd562b16e2
commit e54001d58b
204 changed files with 779 additions and 784 deletions

View file

@ -269,7 +269,7 @@ int sh_main(int ac, char *av[], Shinit_f userinit)
}
#if !_WINIX
/*
* try to undo effect of solaris 2.5+
* try to undo effect of Solaris 2.5+
* change for argv for setuid scripts
*/
if(shp->st.repl_index > 0)
@ -344,7 +344,7 @@ int sh_main(int ac, char *av[], Shinit_f userinit)
sh_accbegin(error_info.id);
#endif /* SHOPT_ACCT */
}
/* If the shell is init'ed with std{in,out,err} closed, make the shell's FD state reflect that. */
/* If the shell is initialised with std{in,out,err} closed, make the shell's FD state reflect that. */
for(i=0; i<=2; i++)
if(fcntl(i,F_GETFD,NiL)==-1 && errno==EBADF) /* closed at OS level? */
sh_close(i); /* update shell FD state */