diff options
author | mp <mp@FreeBSD.org> | 2007-10-15 16:54:07 +0000 |
---|---|---|
committer | mp <mp@FreeBSD.org> | 2007-10-15 16:54:07 +0000 |
commit | 83d7763578d79ef1914bf28e6de8b82ac8f36503 (patch) | |
tree | 52cce6c15fc09a0f8cbe40da0b3759022faa90c0 /contrib/tcsh | |
parent | ac96042d3cdd741d827f079c62a1141b3dffa682 (diff) | |
parent | 5174ae62f98b1daa4649059d8e7db5d3c8a296a0 (diff) | |
download | FreeBSD-src-83d7763578d79ef1914bf28e6de8b82ac8f36503.zip FreeBSD-src-83d7763578d79ef1914bf28e6de8b82ac8f36503.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r172668,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/tcsh')
-rw-r--r-- | contrib/tcsh/sh.lex.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/tcsh/sh.lex.c b/contrib/tcsh/sh.lex.c index 8eccb4d..0cccf47 100644 --- a/contrib/tcsh/sh.lex.c +++ b/contrib/tcsh/sh.lex.c @@ -851,8 +851,7 @@ getsub(struct wordent *en) return (en); } slhs.len = 0; - if (lhsb.s != NULL && lhsb.len != 0) - Strbuf_append(&slhs, lhsb.s); + Strbuf_append(&slhs, lhsb.s); Strbuf_terminate(&slhs); if (exclc) en = dosub(sc, en, global); |