summaryrefslogtreecommitdiffstats
path: root/contrib/tcsh/sh.func.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-06-10 20:14:21 +0000
committerobrien <obrien@FreeBSD.org>2000-06-10 20:14:21 +0000
commit85b66f4b34daef6618e01f81ba3e799b9cbbf082 (patch)
tree0312ae26cda1507ae4657d30f0f21c9a53877db3 /contrib/tcsh/sh.func.c
parent1ac43653c055c440832211fd4562816d1f67fceb (diff)
downloadFreeBSD-src-85b66f4b34daef6618e01f81ba3e799b9cbbf082.zip
FreeBSD-src-85b66f4b34daef6618e01f81ba3e799b9cbbf082.tar.gz
Offical fixes to the history and I18N bugs ache found.
Diffstat (limited to 'contrib/tcsh/sh.func.c')
-rw-r--r--contrib/tcsh/sh.func.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/contrib/tcsh/sh.func.c b/contrib/tcsh/sh.func.c
index 2138bce..fb8c898 100644
--- a/contrib/tcsh/sh.func.c
+++ b/contrib/tcsh/sh.func.c
@@ -1,4 +1,4 @@
-/* $Header: /src/pub/tcsh/sh.func.c,v 3.86 2000/01/14 22:57:27 christos Exp $ */
+/* $Header: /src/pub/tcsh/sh.func.c,v 3.87 2000/06/09 19:43:43 kim Exp $ */
/*
* sh.func.c: csh builtin functions
*/
@@ -36,7 +36,7 @@
*/
#include "sh.h"
-RCSID("$Id: sh.func.c,v 3.86 2000/01/14 22:57:27 christos Exp $")
+RCSID("$Id: sh.func.c,v 3.87 2000/06/09 19:43:43 kim Exp $")
#include "ed.h"
#include "tw.h"
@@ -2019,10 +2019,13 @@ limtail(cp, str)
Char *cp;
char *str;
{
+ char *sp;
+
+ sp = str;
while (*cp && *cp == *str)
cp++, str++;
if (*cp)
- stderror(ERR_BADSCALE, str);
+ stderror(ERR_BADSCALE, sp);
}
OpenPOWER on IntegriCloud