RE: [Sablevm-developer] Config File Parsing (Done)
Brought to you by:
egagnon
From: Brent F. <bre...@xp...> - 2000-12-12 17:40:12
|
> > I have tested it with a file of 18 options, but there may be some > > nastiness I've missed. Let's all test it out... :-) > > I have made a few nasty tests, an submitted 2 bug reports. (Finally > testing this SF feature;-). > Etienne, Thanks for your comments. I have checked in an update that (a) moves much of the file reading code into our own "getLine" function that should be somewhat functionally equivalent to the GNU version, and (b) removes the debugging output for the optional config files. By the way, should the configuration default to "/usr/etc"? That doesn't seem standard, at least for Linux systems. I tried out your test cases, and I'm happy to report that the code does read and store your 3095-byte test string. Unfortunately, it seems to cause a segfault later on when the JVM attempts to stat that non-existent directory... Thanks, -Brent > Tell me if you need more than "technician" privilege to bugs. > Well, I don't seem to be able to manipulate the bugs in the database, so I can't "close" anything. However, I'm not sure if you want to handle all such activities yourself. Thanks, -Brent |