From: Ralph Campbell Date: Tue, 10 Apr 1984 06:59:06 +0000 (-0800) Subject: added labels for partial updates. X-Git-Tag: BSD-4_3-Snapshot-Development~10146 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/032b437374d6b946953d7bde00f570efca7bde6c?hp=2198ed484b7c58db06af6f6b77cce7f05398f8d0 added labels for partial updates. SCCS-vsn: usr.bin/rdist/main.c 4.11 --- diff --git a/usr/src/usr.bin/rdist/main.c b/usr/src/usr.bin/rdist/main.c index d36dcb792e..2ec01c898a 100644 --- a/usr/src/usr.bin/rdist/main.c +++ b/usr/src/usr.bin/rdist/main.c @@ -1,5 +1,5 @@ #ifndef lint -static char *sccsid = "@(#)main.c 4.11 (Berkeley) 84/04/06"; +static char *sccsid = "@(#)main.c 4.11 (Berkeley) 84/04/09"; #endif #include "defs.h" @@ -18,8 +18,6 @@ int qflag; /* Quiet. Don't print messages */ int options; /* global options */ int iamremote; /* act as remote server for transfering files */ -int filec; /* number of files to update */ -char **filev; /* list of files/directories to update */ FILE *fin = NULL; /* input file pointer */ int rem = -1; /* file descriptor to remote source/sink process */ char host[32]; /* host name */ @@ -197,7 +195,7 @@ docmdargs(nargs, args) printf("hosts = "); prnames(hosts); } - insert(files, hosts, cmds); + insert(NULL, files, hosts, cmds); docmds(0, NULL); }