From: <no...@so...> - 2000-12-11 23:59:42
|
Bug #125402, was updated on 2000-Dec-11 15:15 Here is a current snapshot of the bug. Project: SableVM Category: None Status: Open Resolution: None Bug Group: None 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 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 |