[Sablevm-bugs] [Bug #125402] Parsing lengthy options fails in configuration file
Brought to you by:
egagnon
From: <no...@so...> - 2000-12-12 00:52:50
|
Bug #125402, was updated on 2000-Dec-11 15:15 Here is a current snapshot of the bug. Project: SableVM Category: Configuration File Status: Open Resolution: None Bug Group: Execution Error Priority: 5 Submitted by: egagnon Assigned to : bfulgham Summary: Parsing lengthy options fails in configuration file Details: Hi! I have tested creating a $HOME.sablevm file with the following content: --- BEGIN --- class-path=0123456789... (continuing for a very long time) --- END --- When I do this, I get the following error message: $ sablevm sablevm: unable to open config file /home/egagnon/work/etc Invalid syntax in /home/egagnon/.sablevm: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123 Aborted Follow-Ups: Date: 2000-Dec-11 16:52 By: egagnon Comment: Finally! I found the problem with this "bug report". The message width is so large that the "submit change" button is far on the right of the html page... OK. The requested file is in CVS, in: test/configuration/sablevm Etienne ------------------------------------------------------- Date: 2000-Dec-11 15:59 By: bfulgham Comment: Eh... Could I get a copy of the file you used? It might be running up against some internal constraint of the fgets function, in which case we'll have to re-implement using fgetc. However, I suspect there's some parsing issue with the line-based reads and realloc's. Thanks, -Brent ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=125402&group_id=5523 |