mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Fix 80 typos in comments
(cherry picked from commit 7dca902a85dc02e5df66f0f45a00d1575e7a0220)
This commit is contained in:
parent
53443bb981
commit
39a14c1000
58 changed files with 80 additions and 80 deletions
|
|
@ -102,7 +102,7 @@ struct limits
|
|||
long arg_max; /* max arg+env exec() size */
|
||||
int open_max; /* maximum number of file descriptors */
|
||||
int clk_tck; /* number of ticks per second */
|
||||
int child_max; /* maxumum number of children */
|
||||
int child_max; /* maximum number of children */
|
||||
int ngroups_max; /* maximum number of process groups */
|
||||
unsigned char posix_version; /* posix version number */
|
||||
unsigned char posix_jobcontrol;/* non-zero for job control systems */
|
||||
|
|
@ -146,7 +146,7 @@ struct shared
|
|||
#define _SH_PRIVATE \
|
||||
struct shared *gd; /* global data */ \
|
||||
struct sh_scoped st; /* scoped information */ \
|
||||
Stk_t *stk; /* stack poiter */ \
|
||||
Stk_t *stk; /* stack pointer */ \
|
||||
Sfio_t *heredocs; /* current here-doc temp file */ \
|
||||
Sfio_t *funlog; /* for logging function definitions */ \
|
||||
int **fdptrs; /* pointer to file numbers */ \
|
||||
|
|
@ -160,7 +160,7 @@ struct shared
|
|||
Namval_t *namespace; /* current active namespace*/ \
|
||||
Namval_t *last_table; /* last table used in last nv_open */ \
|
||||
Namval_t *prev_table; /* previous table used in nv_open */ \
|
||||
Sfio_t *outpool; /* ouput stream pool */ \
|
||||
Sfio_t *outpool; /* output stream pool */ \
|
||||
long timeout; /* read timeout */ \
|
||||
short curenv; /* current subshell number */ \
|
||||
short jobenv; /* subshell number for jobs */ \
|
||||
|
|
|
|||
|
|
@ -262,8 +262,8 @@ extern const char e_runvi[];
|
|||
#define HIST_QUESTION 0x2 /* question mark event designator */
|
||||
#define HIST_HASH 0x4 /* hash event designator */
|
||||
#define HIST_WORDDSGN 0x8 /* word designator seen */
|
||||
#define HIST_QUICKSUBST 0x10 /* quick substition designator seen */
|
||||
#define HIST_SUBSTITUTE 0x20 /* for substition loop */
|
||||
#define HIST_QUICKSUBST 0x10 /* quick substitution designator seen */
|
||||
#define HIST_SUBSTITUTE 0x20 /* for substitution loop */
|
||||
#define HIST_NEWLINE 0x40 /* newline in squashed white space */
|
||||
|
||||
/* modifier flags */
|
||||
|
|
@ -271,9 +271,9 @@ extern const char e_runvi[];
|
|||
#define HIST_PRINT 0x100 /* print new command */
|
||||
#define HIST_QUOTE 0x200 /* quote resulting history line */
|
||||
#define HIST_QUOTE_BR 0x400 /* quote every word on space break */
|
||||
#define HIST_GLOBALSUBST 0x800 /* apply substition globally */
|
||||
#define HIST_GLOBALSUBST 0x800 /* apply substitution globally */
|
||||
|
||||
#define HIST_ERROR 0x1000 /* an error ocurred */
|
||||
#define HIST_ERROR 0x1000 /* an error occurred */
|
||||
|
||||
/* flags to be returned */
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
/* for use with env_open */
|
||||
#define ENV_STABLE (-1)
|
||||
|
||||
/* for third agument to env_add */
|
||||
/* for third argument to env_add */
|
||||
#define ENV_MALLOCED 1
|
||||
#define ENV_STRDUP 2
|
||||
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ typedef void (*SH_SIGTYPE)(int,void(*)(int));
|
|||
#define SH_SIGSET 4 /* pending signal */
|
||||
#define SH_SIGTRAP 010 /* pending trap */
|
||||
#define SH_SIGDONE 020 /* default is exit */
|
||||
#define SH_SIGIGNORE 040 /* default is ingore signal */
|
||||
#define SH_SIGIGNORE 040 /* default is ignore signal */
|
||||
#define SH_SIGINTERACTIVE 0100 /* handle interactive specially */
|
||||
#define SH_SIGTSTP 0200 /* tstp signal received */
|
||||
#define SH_SIGALRM 0200 /* timer alarm received */
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ struct jobs
|
|||
short fd; /* tty descriptor number */
|
||||
#ifdef JOBS
|
||||
int suspend; /* suspend character */
|
||||
int linedisc; /* line dicipline */
|
||||
int linedisc; /* line discipline */
|
||||
#endif /* JOBS */
|
||||
char jobcontrol; /* turned on for real job control */
|
||||
char waitsafe; /* wait will not block */
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
#define S_QUOTE 37 /* double quote character */
|
||||
#define S_GRAVE 38 /* old comsub character */
|
||||
#define S_ESC 39 /* escape character */
|
||||
#define S_DOL 40 /* $ subsitution character */
|
||||
#define S_DOL 40 /* $ substitution character */
|
||||
#define S_ESC2 41 /* escape character inside '...' */
|
||||
|
||||
/* These are the lexical state table names */
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ struct Ufunction
|
|||
#define NV_NOEXPAND NV_RJUST /* do not expand alias */
|
||||
#define NV_BLTIN (NV_NOPRINT|NV_EXPORT)
|
||||
#define BLT_ENV (NV_RDONLY) /* non-stoppable,
|
||||
* can modify enviornment */
|
||||
* can modify environment */
|
||||
#define BLT_SPC (NV_LJUST) /* special built-ins */
|
||||
#define BLT_EXIT (NV_RJUST) /* exit value can be > 255 */
|
||||
#define BLT_DCL (NV_TAGGED) /* declaration command */
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ struct Shell_s
|
|||
int inlineno; /* line number of current input file */
|
||||
int exitval; /* most recent exit value */
|
||||
unsigned char trapnote; /* set when trap/signal is pending */
|
||||
char shcomp; /* set when runing shcomp */
|
||||
char shcomp; /* set when running shcomp */
|
||||
short subshell; /* set for virtual subshell */
|
||||
#ifdef _SH_PRIVATE
|
||||
_SH_PRIVATE
|
||||
|
|
|
|||
|
|
@ -151,7 +151,7 @@
|
|||
# endif /* TCSANOW */
|
||||
#endif /* _hdr_termios */
|
||||
|
||||
/* set ECHOCTL if driver can echo control charaters as ^c */
|
||||
/* set ECHOCTL if driver can echo control characters as ^c */
|
||||
#ifdef LCTLECH
|
||||
# ifndef ECHOCTL
|
||||
# define ECHOCTL LCTLECH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue