diff options
author | schweikh <schweikh@FreeBSD.org> | 2006-02-04 14:37:50 +0000 |
---|---|---|
committer | schweikh <schweikh@FreeBSD.org> | 2006-02-04 14:37:50 +0000 |
commit | 627562241f7935df08be6f0a0d83eafaeeaaa7fa (patch) | |
tree | f793fda2159b9172a3c672b33b6eb8a4896c0909 /bin/sh/expand.c | |
parent | f8e9593b7e7c0cae673213ec132e6b7fbd97b4ea (diff) | |
download | FreeBSD-src-627562241f7935df08be6f0a0d83eafaeeaaa7fa.zip FreeBSD-src-627562241f7935df08be6f0a0d83eafaeeaaa7fa.tar.gz |
Remove some white space at EOL.
Diffstat (limited to 'bin/sh/expand.c')
-rw-r--r-- | bin/sh/expand.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bin/sh/expand.c b/bin/sh/expand.c index e980589..7fd2ba5 100644 --- a/bin/sh/expand.c +++ b/bin/sh/expand.c @@ -100,7 +100,7 @@ STATIC char *evalvar(char *, int); STATIC int varisset(char *, int); STATIC void varvalue(char *, int, int); STATIC void recordregion(int, int, int); -STATIC void removerecordregions(int); +STATIC void removerecordregions(int); STATIC void ifsbreakup(char *, struct arglist *); STATIC void expandmeta(struct strlist *, int); STATIC void expmeta(char *, char *); @@ -309,7 +309,7 @@ lose: } -STATIC void +STATIC void removerecordregions(int endoff) { if (ifslastp == NULL) @@ -332,7 +332,7 @@ removerecordregions(int endoff) } return; } - + ifslastp = &ifsfirst; while (ifslastp->next && ifslastp->next->begoff < endoff) ifslastp=ifslastp->next; @@ -576,7 +576,7 @@ subevalvar(char *p, char *str, int strloc, int subtype, int startloc, } loc--; if ((varflags & VSQUOTE) && loc > startp && - *(loc - 1) == CTLESC) { + *(loc - 1) == CTLESC) { for (q = startp; q < loc; q++) if (*q == CTLESC) q++; @@ -750,9 +750,9 @@ record: if (!set) { if (subevalvar(p, var, 0, subtype, startloc, varflags)) { varflags &= ~VSNUL; - /* - * Remove any recorded regions beyond - * start of variable + /* + * Remove any recorded regions beyond + * start of variable */ removerecordregions(startloc); goto again; @@ -972,7 +972,7 @@ ifsbreakup(char *string, struct arglist *arglist) do { p = string + ifsp->begoff; nulonly = ifsp->nulonly; - ifs = nulonly ? nullstr : + ifs = nulonly ? nullstr : ( ifsset() ? ifsval() : " \t\n" ); ifsspc = 0; while (p < string + ifsp->endoff) { |