RE: with ubuntu 64 - bit still receiving parse_config_file-error
Status: Alpha
Brought to you by:
coroberti
From: Richard P. <rp...@ce...> - 2009-02-25 19:23:34
|
Just tested with gcc-4.1 and it works..... Thanks!! -- Thank you, Rick From: Richard Parker [mailto:rp...@ce...] Sent: Wednesday, February 25, 2009 2:14 PM To: Robert Iakobashvili Cc: curl-loader-devel Subject: RE: with ubuntu 64 - bit still receiving parse_config_file-error I will try a different compiler first.. Thank you very much for your help!! Rick -- Thank you, Rick From: Robert Iakobashvili [mailto:cor...@gm...] Sent: Wednesday, February 25, 2009 1:07 PM To: Richard Parker Cc: curl-loader-devel Subject: Re: with ubuntu 64 - bit still receiving parse_config_file-error Hi Rick, On Wed, Feb 25, 2009 at 8:20 PM, Rick Parker <rp...@ce...<mailto:rp...@ce...>> wrote: > read(3, "######### GENERAL SECTION\nBATCH_"..., 4096) = 610 > > The above string from your strace is resulting from fgets() reading. > fgets is normally reading line till the nearest end of line symbol > (\n, or \r\n) > > Here it is reading a lot (610) characters, which means several (if not > all) lines. > The parser is supposed to get from fgets input as line after line. > Here the correct behavior is completely broken. > The question who is the bad man: the compiler or the glibc? > > Try a one more thing - to place instead of all \n - \r\n > in vi > :set ff=dos > > and save the file :wq > > -- > Truly, > Robert Iakobashvili, Ph.D. > ...................................................................... > Assistive technology that understands you > ...................................................................... > No virus found in this incoming message. Checked by AVG - www.avg.com<http://www.avg.com> > Version: 8.0.237 / Virus Database: 270.11.3/1969 - Release Date: > 02/24/09 13:35:00 read(3, "########### GENERAL SECTION\r\nBAT"..., 4096) = 602 Yep, fgets is completely broken. We'll need to re-write it and make our own function instead. Since we are very busy nowdays, please, try another compiler or linux distribution in meanwhile. Sorry. -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... Assistive technology that understands you ...................................................................... No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.11.3/1969 - Release Date: 02/24/09 13:35:00 No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.0.237 / Virus Database: 270.11.3/1969 - Release Date: 02/24/09 13:35:00 |