just whitespace

This commit is contained in:
Tim Riker
2006-01-25 00:08:53 +00:00
parent f64ff682a3
commit c1ef7bdd8d
254 changed files with 2002 additions and 2002 deletions

View File

@@ -841,7 +841,7 @@ static int SIT(int c, int syntax)
return S_I_T[indx][syntax];
}
#else /* USE_SIT_FUNCTION */
#else /* USE_SIT_FUNCTION */
#define SIT(c, syntax) S_I_T[(int)syntax_index_table[((int)c)+SYNBASE]][syntax]
@@ -1142,7 +1142,7 @@ static const char syntax_index_table[258] = {
/* 257 127 */ CWORD_CWORD_CWORD_CWORD,
};
#endif /* USE_SIT_FUNCTION */
#endif /* USE_SIT_FUNCTION */
/* alias.c */

View File

@@ -67,7 +67,7 @@
#define CONFIG_FEATURE_NONPRINTABLE_INVERSE_PUT
#define CONFIG_FEATURE_CLEAN_UP
#endif /* TEST */
#endif /* TEST */
#ifdef CONFIG_FEATURE_COMMAND_TAB_COMPLETION
#include <dirent.h>
@@ -82,7 +82,7 @@
#ifdef CONFIG_FEATURE_GETUSERNAME_AND_HOMEDIR
#include "pwd_.h"
#endif /* advanced FEATURES */
#endif /* advanced FEATURES */
/* Maximum length of the linked list for the command line history */
@@ -177,7 +177,7 @@ static void win_changed(int nsig)
previous_SIGWINCH_handler = signal(SIGWINCH, win_changed);
else if (nsig == SIGWINCH) /* signaled called handler */
signal(SIGWINCH, win_changed); /* set for next call */
else /* nsig == 0 */
else /* nsig == 0 */
/* set previous handler */
signal(SIGWINCH, previous_SIGWINCH_handler); /* reset */
}
@@ -907,7 +907,7 @@ static int find_match(char *matchBuf, int *len_with_quotes)
}
/* collapse (command...(command...)...) or {command...{command...}...} */
c = 0; /* "recursive" level */
c = 0; /* "recursive" level */
c2 = 0;
for (i = 0; int_buf[i]; i++)
if (int_buf[i] == '(' || int_buf[i] == '{') {
@@ -1358,7 +1358,7 @@ vi_back_motion(char *command)
}
#endif
/*
/*
* the normal emacs mode and vi's insert mode are the same.
* commands entered when in vi command mode ("escape mode") get
* an extra bit added to distinguish them. this lets them share
@@ -1431,7 +1431,7 @@ int cmdedit_read_input(char *prompt, char command[BUFSIZ])
newdelflag = 1;
ic = c;
if (vi_cmdmode)
ic |= VI_cmdbit;
ic |= VI_cmdbit;
switch (ic)
#else
switch (c)
@@ -1613,7 +1613,7 @@ prepare_to_die:
vi_cmdmode = 0;
/* fall through */
case VICMD('d'):
{
{
int nc, sc;
sc = cursor;
prevc = ic;
@@ -1632,7 +1632,7 @@ prepare_to_die:
case 'E':
switch (c) {
case 'w': /* "dw", "cw" */
vi_word_motion(command, vi_cmdmode);
vi_word_motion(command, vi_cmdmode);
break;
case 'W': /* 'dW', 'cW' */
vi_Word_motion(command, vi_cmdmode);

View File

@@ -1581,7 +1581,7 @@ static int run_list_real(struct pipe *pi)
if (rmode == RES_IN) continue;
if (rmode == RES_DO) {
if (!flag_rep) continue;
}
}
if ((rmode == RES_DONE)) {
if (flag_rep) {
flag_restore = 1;
@@ -1782,17 +1782,17 @@ static int xglob(o_string *dest, int flags, glob_t *pglob)
{
int gr;
/* short-circuit for null word */
/* short-circuit for null word */
/* we can code this better when the debug_printf's are gone */
if (dest->length == 0) {
if (dest->nonnull) {
/* bash man page calls this an "explicit" null */
gr = globhack(dest->data, flags, pglob);
debug_printf("globhack returned %d\n",gr);
} else {
if (dest->length == 0) {
if (dest->nonnull) {
/* bash man page calls this an "explicit" null */
gr = globhack(dest->data, flags, pglob);
debug_printf("globhack returned %d\n",gr);
} else {
return 0;
}
} else if (glob_needed(dest->data)) {
} else if (glob_needed(dest->data)) {
gr = glob(dest->data, flags, NULL, pglob);
debug_printf("glob returned %d\n",gr);
if (gr == GLOB_NOMATCH) {
@@ -2111,7 +2111,7 @@ static int done_word(o_string *dest, struct p_context *ctx)
if (reserved_word(dest,ctx)) return ctx->w==RES_SNTX;
}
glob_target = &child->glob_result;
if (child->argv) flags |= GLOB_APPEND;
if (child->argv) flags |= GLOB_APPEND;
}
gr = xglob(dest, flags, glob_target);
if (gr != 0) return 1;

View File

@@ -1267,7 +1267,7 @@ static int pseudo_exec(struct child_prog *child)
char** argv_l=child->argv;
int argc_l;
#ifdef _NEWLIB_VERSION
/* newlib uses __getopt_initialized for getopt() in
/* newlib uses __getopt_initialized for getopt() in
* addition to optind, see newlib/libc/sys/linux/getopt.c
*/
extern int __getopt_initialized = 0;

View File

@@ -335,9 +335,9 @@ static void sig(int i); /* default signal handler */
#define GROWBY (256)
/* #define SHRINKBY (64) */
#undef SHRINKBY
#define FREE (32767)
#define BUSY (0)
#define ALIGN (sizeof(int)-1)
#define FREE (32767)
#define BUSY (0)
#define ALIGN (sizeof(int)-1)
struct region {