Alexey Mahotkin wrote: > I've been implementing the "acl" command and was bitten by the fact > that serve_argument() does not NULL-terminates a list of arguments > received from the client. This does no harm because existing > server-side code always uses something like > > for (i = 0; i < argc; i++) > > and never something like > > for (; *argv; argv++) > > I'd like to do the latter (and it's obviously good to have more > traditional argv[]), so here is the patch:
Is this really traditional? I've never seen it in over 10 years of C programming. Can you point me at the appropriate standard? Derek -- Derek Price CVS Solutions Architect ( http://CVSHome.org ) mailto:[EMAIL PROTECTED] CollabNet ( http://collab.net ) -- 155. I had a life once... now I have a computer and a modem. _______________________________________________ Bug-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-cvs
