This is the mail archive of the
sid@sources.redhat.com
mailing list for the SID project.
Re: [RFA] cfgroot usability improvement
- To: Ben Elliston <bje at redhat dot com>
- Subject: Re: [RFA] cfgroot usability improvement
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- Date: Mon, 21 May 2001 09:28:22 -0400
- Cc: sid at sources dot redhat dot com
- References: <15112.38243.488724.630625@scooby.apac.redhat.com>
Hi -
On Mon, May 21, 2001 at 02:11:15PM +1000, Ben Elliston wrote:
: [...]
: Okay to commit?
Good idea, except:
: + if (++num_invalid_chars > 5)
: + {
: + emit_error ("too many invalid characters--possibly a binary file?");
: + exit (1);
: + }
cfgroot can't take it upon itself to *exit* the process.
Think of another way to abort the parsing process.
- FChE
PGP signature