Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/rdist more clobbering fixes.



details:   https://anonhg.NetBSD.org/src/rev/6c80abc59e74
branches:  trunk
changeset: 790641:6c80abc59e74
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Oct 18 20:43:45 2013 +0000

description:
more clobbering fixes.

diffstat:

 usr.bin/rdist/docmd.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r 75d2e6b297a4 -r 6c80abc59e74 usr.bin/rdist/docmd.c
--- a/usr.bin/rdist/docmd.c     Fri Oct 18 20:41:58 2013 +0000
+++ b/usr.bin/rdist/docmd.c     Fri Oct 18 20:43:45 2013 +0000
@@ -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 @@
  * 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 @@
        int volatile ddir;
        int volatile opts;
        struct namelist * volatile files = xfiles;
+       struct subcmd * volatile cmds = xcmds;
 
        opts = options;
        if (debug)



Home | Main Index | Thread Index | Old Index