svn commit: r231080 - head/usr.bin/rpcgen
Dimitry Andric
dim at FreeBSD.org
Mon Feb 6 12:08:42 UTC 2012
Author: dim
Date: Mon Feb 6 12:08:41 2012
New Revision: 231080
URL: http://svn.freebsd.org/changeset/base/231080
Log:
Amend r231079 by properly shifting up the existing arguments in
rpc_main.c's insarg() function. I had forgotten to put this in my patch
queue, sorry.
Pointy hat to: me
MFC after: 1 week
Modified:
head/usr.bin/rpcgen/rpc_main.c
Modified: head/usr.bin/rpcgen/rpc_main.c
==============================================================================
--- head/usr.bin/rpcgen/rpc_main.c Mon Feb 6 12:03:21 2012 (r231079)
+++ head/usr.bin/rpcgen/rpc_main.c Mon Feb 6 12:08:41 2012 (r231080)
@@ -953,7 +953,7 @@ insarg(int place, const char *cp)
}
/* Move up existing arguments */
- for (i = argcount - 1; i > place; i--)
+ for (i = argcount - 1; i >= place; i--)
arglist[i + 1] = arglist[i];
arglist[place] = xstrdup(cp);
More information about the svn-src-all
mailing list