diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2000-06-10 22:20:53 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2000-06-10 22:20:53 +0000 |
commit | b2be84b1995b2e0ccd8af392ffaa13cdda39c531 (patch) | |
tree | 4d7dddd3207468aa59b04bfbc3e2da7e9ae904b0 /contrib/tcsh/sh.hist.c | |
parent | d9a02933d5d591ea355749d0524baed47b4ede46 (diff) | |
download | src-b2be84b1995b2e0ccd8af392ffaa13cdda39c531.tar.gz src-b2be84b1995b2e0ccd8af392ffaa13cdda39c531.zip |
Offical fixes to allow longer lines in the history and tweak expand_lex()vendor/tcsh/6.09.01-20000610
useage.
Notes
Notes:
svn path=/vendor/tcsh/dist/; revision=61524
svn path=/vendor/tcsh/6.09.01-20000610/; revision=61526; tag=vendor/tcsh/6.09.01-20000610
Diffstat (limited to 'contrib/tcsh/sh.hist.c')
-rw-r--r-- | contrib/tcsh/sh.hist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/tcsh/sh.hist.c b/contrib/tcsh/sh.hist.c index a2889dd1451d..639f5e9ac0fb 100644 --- a/contrib/tcsh/sh.hist.c +++ b/contrib/tcsh/sh.hist.c @@ -1,4 +1,4 @@ -/* $Header: /src/pub/tcsh/sh.hist.c,v 3.26 1999/02/06 15:01:23 christos Exp $ */ +/* $Header: /src/pub/tcsh/sh.hist.c,v 3.27 2000/06/10 22:07:56 kim Exp $ */ /* * sh.hist.c: Shell history expansions and substitutions */ @@ -36,7 +36,7 @@ */ #include "sh.h" -RCSID("$Id: sh.hist.c,v 3.26 1999/02/06 15:01:23 christos Exp $") +RCSID("$Id: sh.hist.c,v 3.27 2000/06/10 22:07:56 kim Exp $") #include "tc.h" @@ -376,7 +376,7 @@ fmthist(fmt, ptr, buf, bufsiz) else { Char ibuf[INBUFSIZE], *ip; char *p; - (void) sprlex(ibuf, sizeof(ibuf), &hp->Hlex); + (void) sprlex(ibuf, sizeof(ibuf) / sizeof(Char), &hp->Hlex); for (p = buf, ip = ibuf; (*p++ = (CHAR & *ip++)) != '\0'; ) continue; } |