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

fix typos: descritor -> descriptor

This commit is contained in:
Martijn Dekker 2020-10-05 18:39:49 +02:00
parent 6697edba1c
commit efcc66a3f5
2 changed files with 3 additions and 3 deletions

View file

@ -75,11 +75,11 @@ static struct subshell
struct Error_context_s *errcontext; struct Error_context_s *errcontext;
Shopt_t options;/* save shell options */ Shopt_t options;/* save shell options */
pid_t subpid; /* child process id */ pid_t subpid; /* child process id */
Sfio_t* saveout;/*saved standard output */ Sfio_t* saveout;/* saved standard output */
char *pwd; /* present working directory */ char *pwd; /* present working directory */
const char *shpwd; /* saved pointer to sh.pwd */ const char *shpwd; /* saved pointer to sh.pwd */
void *jobs; /* save job info */ void *jobs; /* save job info */
int pwdfd; /* file descritor for pwd */ int pwdfd; /* file descriptor for PWD */
mode_t mask; /* saved umask */ mode_t mask; /* saved umask */
short tmpfd; /* saved tmp file descriptor */ short tmpfd; /* saved tmp file descriptor */
short pipefd; /* read fd if pipe is created */ short pipefd; /* read fd if pipe is created */

View file

@ -175,7 +175,7 @@ cat > "$f" <<- '!!!!'
!!!! !!!!
chmod 755 "$f" chmod 755 "$f"
if [[ $($SHELL "$f") != abc ]] if [[ $($SHELL "$f") != abc ]]
then err_exit 'here document descritor was closed' then err_exit 'here document descriptor was closed'
fi fi
cat > "$f" <<- '!!!!' cat > "$f" <<- '!!!!'
exec 0<&- exec 0<&-