From 76221da7b9acbdec5250f9078bc3872749d8fa7a Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 22 May 1995 14:57:30 +0000 Subject: [PATCH] Next default record position also set by last p=... in show. --- kernel/urp.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/kernel/urp.c b/kernel/urp.c index 90b5cd1..ff1eaa0 100644 --- a/kernel/urp.c +++ b/kernel/urp.c @@ -45,7 +45,10 @@ * Europagate, 1995 * * $Log: urp.c,v $ - * Revision 1.38 1995/05/19 13:26:00 adam + * Revision 1.39 1995/05/22 14:57:30 adam + * Next default record position also set by last p=... in show. + * + * Revision 1.38 1995/05/19 13:26:00 adam * Bug fixes. Better command line options. * * Revision 1.37 1995/05/18 12:03:09 adam @@ -712,7 +715,7 @@ static int exec_show (struct ccl_token *list) { fprintf (reply_fd, "%s\n", gw_res_get (info.kernel_res, "gw.err.bad.show", - "Integer expected")); + "Syntax error")); return -3; } li = li->next; @@ -802,6 +805,7 @@ static int exec_show (struct ccl_token *list) if (offset+number-1 > us->hits) number = us->hits - offset+1; present (us->name, offset, number, format_token); + info.next_position = offset+number; } } else if (!no_of_present) /* display error message once! */ -- 1.7.10.4