just whitespace
diff --git a/shell/ash.c b/shell/ash.c
index ef1fe0a..69062e0 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -841,7 +841,7 @@
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 @@
/* 257 127 */ CWORD_CWORD_CWORD_CWORD,
};
-#endif /* USE_SIT_FUNCTION */
+#endif /* USE_SIT_FUNCTION */
/* alias.c */
diff --git a/shell/cmdedit.c b/shell/cmdedit.c
index edfa016..db24631 100644
--- a/shell/cmdedit.c
+++ b/shell/cmdedit.c
@@ -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 @@
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 @@
}
/* 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 @@
}
#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 @@
newdelflag = 1;
ic = c;
if (vi_cmdmode)
- ic |= VI_cmdbit;
+ ic |= VI_cmdbit;
switch (ic)
#else
switch (c)
@@ -1613,7 +1613,7 @@
vi_cmdmode = 0;
/* fall through */
case VICMD('d'):
- {
+ {
int nc, sc;
sc = cursor;
prevc = ic;
@@ -1632,7 +1632,7 @@
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);
diff --git a/shell/hush.c b/shell/hush.c
index 70533a2..ff29974 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -1581,7 +1581,7 @@
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 @@
{
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 @@
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;
diff --git a/shell/lash.c b/shell/lash.c
index a23f5f4..56a3a23 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -1267,7 +1267,7 @@
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;
diff --git a/shell/msh.c b/shell/msh.c
index 9e9a10b..08ca792 100644
--- a/shell/msh.c
+++ b/shell/msh.c
@@ -335,9 +335,9 @@
#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 {