[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: BUG REPORT: Website META Language 1.7.1 (05-06-1999)
- From: Fritz Zaucker <nospam@thanx>
- Date: 07 Jun 1999 14:51:22 +0200
Denis Barbier <barbier@imacs.polytechnique.fr> writes:
> All editors put a newline on the last line, so i beieve this bug has no
> consequence in practice.
No, as I said in my previous E-Mail, Emacs, for example, does NOT put
a newline behind the last line. I ran in this problem many times with
Makefiles and my own Makefiles have now the following last line:
# This is the last line
just to be sure that the last meaningful line is interpreted.
Cheers,
Fritz
P.S.: Some people might argue Emacs being an editor ...
>
> Apply the patch below if you think you are concerned by this bug.
>
> Thanx to Jan Ulrich for the report.
>
> Denis
>
> --- wml_backend/p2_mhc/libmhtml/pagefuncs.c 1999/03/16 11:05:12 1.7
> +++ wml_backend/p2_mhc/libmhtml/pagefuncs.c 1999/06/07 12:22:02
> @@ -336,7 +336,7 @@
> int loc = atoi (insert_loc);
>
> if (loc < 0)
> - loc = top_page->page->bindex + loc;
> + loc = top_page->page->bindex + loc + 1;
> if ((loc > -1) && (loc < top_page->page->bindex))
> {
> bprintf_insert_text (top_page->page, loc, insertion);
>
>
> ______________________________________________________________________
> Website META Language (WML) www.engelschall.com/sw/wml/
> Official Support Mailing List sw-wml@engelschall.com
> Automated List Manager majordomo@engelschall.com
>
--
Dr. Fritz Zaucker, Head IT Support Group
Department of Electrical Engineering, Federal Institute of Technology
ETZ J97, Gloriastrasse 35, 8092 Zurich, Switzerland
Tel.: +41-1-632-5241 Fax: +41-1-632-1194 http://ee-staff.ethz.ch/~zaucker/
E-mail: zaucker@ee.ethz.ch (see home page for PGP key)
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com