Re: config file and line continuation

2011-08-24 Thread Nicholas Marriott
Cool. Applied to OpeNBSD, thanks, should be in SF soonish. On Wed, Aug 24, 2011 at 12:33:45PM +0200, Julius Plenz wrote: > Hi, Nicholas! > > * Nicholas Marriott [2011-08-24 11:54]: > > problem: if we have a blank line then len will be 0 (after trimming > > the \n) so the continuation check wil

Re: config file and line continuation

2011-08-24 Thread Julius Plenz
Hi, Nicholas! * Nicholas Marriott [2011-08-24 11:54]: > problem: if we have a blank line then len will be 0 (after trimming > the \n) so the continuation check will read before the start of the > buffer. True. > I've tweaked this a bit and hopefully fixed that, please look at this: Yes, the am

Re: config file and line continuation

2011-08-24 Thread Nicholas Marriott
Ok problem: if we have a blank line then len will be 0 (after trimming the \n) so the continuation check will read before the start of the buffer. I've tweaked this a bit and hopefully fixed that, please look at this: Index: cfg.c ==