Re: with ubuntu 64 - bit still receiving parse_config_file-error
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2009-02-25 18:06:52
|
Hi Rick, On Wed, Feb 25, 2009 at 8:20 PM, Rick Parker <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 > > 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 ...................................................................... |