more clobbering fixes.

This commit is contained in:
christos 2013-10-18 20:43:45 +00:00
parent c3e578cfbe
commit bdeefc61e5

View File

@ -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 **argv)
* 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 *xfiles, char *rhost, struct subcmd *cmds)
int volatile ddir;
int volatile opts;
struct namelist * volatile files = xfiles;
struct subcmd * volatile cmds = xcmds;
opts = options;
if (debug)