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 17:45:07
|
Hi Rick, On Wed, Feb 25, 2009 at 7:47 PM, Rick Parker <rp...@ce...> wrote: > "Printed out strings?" The ones from the strace? or something different? > I will get you whatever you would like for debugging. > I will attempt to recompile with a gcc that is <4.1. > I also did make a default "make" (which i thought was debug=1 and > optimize =0) but it segfaulted.. (would you like to see that strace?) > > Thank you very much Robert!! > Rick > 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 ...................................................................... |