openbsd-ports/textproc/spiff/patches/patch-command_c
2005-09-05 13:25:04 +00:00

26 lines
604 B
Plaintext

$OpenBSD: patch-command_c,v 1.1 2005/09/05 13:25:04 espie Exp $
--- command.c.orig Wed Sep 23 20:06:51 1998
+++ command.c Mon Sep 5 15:21:26 2005
@@ -172,17 +172,17 @@ C_clear_cmd()
}
int
-C_is_cmd(inline)
-char *inline;
+C_is_cmd(input_line)
+char *input_line;
{
char *ptr;
/*
** see if this is a command line
** and if so, do the command right away
*/
- if (('\0' != _C_cmdword[0]) && (!S_wordcmp(inline,_C_cmdword)))
+ if (('\0' != _C_cmdword[0]) && (!S_wordcmp(input_line,_C_cmdword)))
{
- ptr = inline;
+ ptr = input_line;
S_nextword(&ptr);
_C_do_a_cmd(ptr);
return(1);