Module Name: src Committed By: christos Date: Fri Oct 18 20:43:46 UTC 2013
Modified Files: src/usr.bin/rdist: docmd.c Log Message: more clobbering fixes. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/usr.bin/rdist/docmd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/rdist/docmd.c diff -u src/usr.bin/rdist/docmd.c:1.29 src/usr.bin/rdist/docmd.c:1.30 --- src/usr.bin/rdist/docmd.c:1.29 Fri Oct 18 16:41:58 2013 +++ src/usr.bin/rdist/docmd.c Fri Oct 18 16:43:45 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: docmd.c,v 1.29 2013/10/18 20:41:58 christos Exp $ */ +/* $NetBSD: docmd.c,v 1.30 2013/10/18 20:43:45 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)docmd.c 8.1 (Berkeley) 6/9/93"; #else -__RCSID("$NetBSD: docmd.c,v 1.29 2013/10/18 20:41:58 christos Exp $"); +__RCSID("$NetBSD: docmd.c,v 1.30 2013/10/18 20:43:45 christos Exp $"); #endif #endif /* not lint */ @@ -123,7 +123,8 @@ docmds(char **dhosts, int argc, char **a * Process commands for sending files to other machines. */ static void -doarrow(char **filev, struct namelist *xfiles, char *rhost, struct subcmd *cmds) +doarrow(char **filev, struct namelist *xfiles, char *rhost, + struct subcmd *xcmds) { struct namelist *f; struct subcmd *sc; @@ -132,6 +133,7 @@ doarrow(char **filev, struct namelist *x int volatile ddir; int volatile opts; struct namelist * volatile files = xfiles; + struct subcmd * volatile cmds = xcmds; opts = options; if (debug)