mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Another round of minor tweaks and cleanups
Notable changes: - The typeset builtin's usage and error messages for incompatible options used with -f has been corrected to show that -t and -u can be used with -f. - In name.c, get rid of misleaadingly named Null static which is actually the empty string, not the null value. Replace with a new AltEmpty macro that is defined similarly to Empty. This is now also used in nvtype.c (re: de037b6e).
This commit is contained in:
parent
0602177646
commit
89cec81b32
17 changed files with 29 additions and 128 deletions
|
|
@ -60,6 +60,7 @@
|
|||
#endif
|
||||
|
||||
#define Empty ((char*)(e_sptbnl+3))
|
||||
#define AltEmpty ((char*)(e_dot+1)) /* alternative pointer to empty string */
|
||||
|
||||
#define env_change() (++ast.env_serial)
|
||||
|
||||
|
|
@ -198,7 +199,9 @@ extern char *sh_getcwd(void);
|
|||
#define sh_sigcheck() do { if(sh.trapnote & SH_SIGSET) sh_exit(SH_EXITSIG); } while(0)
|
||||
|
||||
extern int32_t sh_mailchk;
|
||||
extern const char e_dict[];
|
||||
extern const char e_dict[]; /* error message catalog */
|
||||
extern const char e_sptbnl[]; /* default IFS: " \t\n" */
|
||||
extern const char e_dot[]; /* default path & name of dot command: "." */
|
||||
|
||||
/* sh_printopts() mode flags -- set --[no]option by default */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue