[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: calling script with dobuffer doesnt work
- From: "Rolf Sormo" <rolf@...>
- Date: Mon, 26 Feb 2001 14:12:05 +0100
I don't really know much about lua yet, but I just came to think one thing.
As you read the stuff from a file
(maybe to a string) and are giving the size of the buffer to dobuffer, are
you sure you're not accidently giving the size
of the string (characters + '\0') or only the data in it (characters without
the tailing '\0')?
----- Original Message -----
From: "Matthias Gall" <firstname.lastname@example.org>
To: "Multiple recipients of list" <email@example.com>
Sent: Monday, February 26, 2001 11:43 AM
Subject: Re: calling script with dobuffer doesnt work
> > Have you embedded newlines into your buffer?
> What exactly do you mean? I read the script from a file into the buffer
> don't change anything, so CR and LF are still there (I dumped the buffer
> it looked okay).