[INN] #99: Add a decent command parser to innd
INN
rra at stanford.edu
Thu Dec 25 18:29:36 UTC 2008
#99: Add a decent command parser to innd
------------------------+---------------------------------------------------
Reporter: iulius | Owner: eagle
Type: defect | Status: new
Priority: medium | Milestone: 2.6.0
Component: innd | Version: 2.4.5
Severity: normal | Resolution:
Keywords: compliance |
------------------------+---------------------------------------------------
Changes (by iulius):
* keywords: => compliance
Comment:
Keywords and arguments MUST be each separated by one or more US-ASCII
SPACE or US-ASCII TAB characters.
Suggested fix: Lift the argument parsing code into a function called from
NCproc, breaking the command line into a vector of command and arguments.
This will work for all commands implemented by innd and will simplify the
implementation of command handlers, as well as fixing this problem. This
is what nnrpd already does.
--
Ticket URL: <http://inn.eyrie.org/trac/ticket/99#comment:1>
INN <http://www.eyrie.org/~eagle/software/inn/>
InterNetNews
More information about the inn-bugs
mailing list