summaryrefslogtreecommitdiffstats
path: root/contrib/tcsh/sh.func.c
diff options
context:
space:
mode:
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