bug in params.c

Osama Abu-Aish osabmt00 at fht-esslingen.de
Sat Oct 14 23:46:45 GMT 2000


Am 14 Oct 2000, um 18:30 Uhr schrieb John M Trostel zum Thema Re: bug in params.c:
Dazu meine Meinung:

John, I'm sorry but I don't get it #-)

greetings, Osama

> ---Reply to mail from Osama Abu-Aish about bug in params.c
> Wouldn't 
> 
> for( c
> accomplish the same thing while skipping over NULLs as the first code
> snippet did?
> 
> > Hi all out there,
> > 
> > I've found a nasty bug in params.c:
> > 
> > Function EatComment consists of the following line:
> >    for( c > InFile ) )
> >                                                                      
> > ^^^^^^^^^^^
> > the (c>0) comparison fails for German umlauts, therefore EatComment returns
> > and the rest of the services file cannot be parsed anymore. In my case the
> > umlaut was in a comment in the [global] section so no services were available
> > at all. I fixed it by omitting the (c>0) comparison:
> > 
> >    for( c > 
> > Greetings, Osama
> > 
> > ---
> > Fachhochschule für Technik Esslingen
> > Außenstelle Goeppingen
> 
> ---End reply
> -- 
> John M. Trostel
> Linux OS Engineer
> Connex
> jtrostel at connex.com
> 
> 


---
Fachhochschule für Technik Esslingen
Außenstelle Goeppingen




More information about the samba-technical mailing list