Lines Matching +full:0 +full:- +full:987

1 Upstream-Status: Inappropriate [1]
4 http://vault.centos.org/5.8/os/SRPMS/rdist-6.1.5-44.src.rpm
6 --- rdist-6.1.5/src/gram.y.cleanup 2003-12-17 11:38:16.000000000 +0100
7 +++ rdist-6.1.5/src/gram.y 2003-12-17 11:38:16.000000000 +0100
8 @@ -40,7 +40,7 @@
12 -#ifndef lint
13 +#if 0
17 @@ -170,7 +170,7 @@
21 - register struct namelist *nl;
24 $1->sc_options = $2 | options;
26 @@ -240,11 +240,11 @@
30 -yylex()
34 - register int c;
35 - register char *cp1, *cp2;
41 @@ -409,8 +409,8 @@
45 - register int c;
46 - register char *str;
52 @@ -421,13 +421,14 @@
62 - register struct cmd *c, *prev, *nc;
63 - register struct namelist *h, *lasth;
69 @@ -475,13 +476,14 @@
80 - register struct cmd *c;
84 c->c_type = DCOLON;
85 @@ -501,6 +503,7 @@
93 @@ -530,7 +533,7 @@
97 - register struct namelist *nl;
102 @@ -627,7 +630,7 @@
106 - register struct subcmd *sc;
110 sc->sc_type = type;
111 --- rdist-6.1.5/src/rdist.c.cleanup 1998-11-10 05:13:50.000000000 +0100
112 +++ rdist-6.1.5/src/rdist.c 2003-12-17 11:38:16.000000000 +0100
113 @@ -38,7 +38,7 @@
117 -#ifndef lint
118 +#if 0
122 @@ -80,7 +80,7 @@
126 - register struct namelist *ptr, *new;
131 @@ -97,14 +97,15 @@
142 - register int x;
143 - register char *cp;
146 int cmdargs = 0;
149 @@ -114,7 +115,7 @@
153 - if (cp = msgparseopts(localmsglist, TRUE)) {
158 @@ -158,7 +159,7 @@
159 while ((c = getopt(argc, argv, optchars)) != -1)
162 - if (cp = msgparseopts(optarg, TRUE)) {
167 @@ -206,7 +207,7 @@
171 - if (cp = msgparseopts("stdout=all,debug", TRUE)) {
176 @@ -245,7 +246,7 @@
177 error("No path specified to \"-P\".");
180 - if (cp = searchpath(optarg))
185 @@ -297,7 +298,7 @@
189 - (void) yyparse();
194 @@ -348,6 +349,7 @@
202 @@ -379,12 +381,13 @@
211 - register struct namelist *nl, *prev;
212 - register char *cp;
218 @@ -433,10 +436,10 @@
222 - register struct namelist *nl;
226 - register int count = 0, len = 0;
227 + int count = 0, len = 0;
231 --- rdist-6.1.5/src/client.c.cleanup 2003-12-17 11:38:16.000000000 +0100
232 +++ rdist-6.1.5/src/client.c 2003-12-17 11:38:16.000000000 +0100
233 @@ -38,7 +38,7 @@
237 -#ifndef lint
238 +#if 0
242 @@ -84,7 +84,7 @@
246 - register char *lname, *cp;
251 @@ -146,7 +146,7 @@
255 - register struct namelist *nl;
258 for (nl = list; nl != NULL; nl = nl->n_next)
259 if (strcmp(file, nl->n_name) == 0)
260 @@ -163,7 +163,7 @@
264 - register struct subcmd *sc;
269 @@ -200,7 +200,7 @@
273 - register struct subcmd *sc;
276 int isokay = 0;
278 @@ -227,7 +227,7 @@
282 - register struct namelist *ptr, *save;
286 if (ptr->n_name) (void) free(ptr->n_name);
287 @@ -249,10 +249,8 @@
291 - register struct subcmd *sc;
292 - register struct namelist *f;
293 - register char **cpp;
294 - char *file;
299 for (sc = cmd->c_cmds; sc != NULL; sc = sc->sc_next) {
300 @@ -294,7 +292,7 @@
304 - register char *cp;
309 @@ -501,7 +499,7 @@
313 - register u_char *s;
316 int didupdate = 0;
318 @@ -618,7 +616,7 @@
321 len = ptarget - target;
322 - while (dp = readdir(d)) {
324 if (!strcmp(dp->d_name, ".") ||
325 !strcmp(dp->d_name, ".."))
327 @@ -631,7 +629,7 @@
328 if (ptarget[-1] != '/')
330 cp = dp->d_name;
331 - while (*ptarget++ = *cp++)
334 ptarget--;
335 if (sendit(dp->d_name, opts, destdir) > 0)
336 @@ -770,13 +768,13 @@
340 - register off_t size;
341 - register time_t mtime;
348 - u_char *cp;
351 debugmsg(DM_CALL, "update(%s, 0x%x, 0x%x)\n", rname, opts, statp);
353 @@ -1035,7 +1033,6 @@
357 - extern struct subcmd *subcmds;
360 int didupdate = 0;
361 @@ -1157,7 +1154,7 @@
365 - if (file = getnotifyfile())
370 --- rdist-6.1.5/src/child.c.cleanup 1998-11-10 05:18:57.000000000 +0100
371 +++ rdist-6.1.5/src/child.c 2003-12-17 11:38:16.000000000 +0100
372 @@ -38,7 +38,7 @@
376 -#ifndef lint
377 +#if 0
381 @@ -90,7 +90,7 @@
385 - register CHILD *pc, *prevpc;
389 child->c_name, child->c_pid, child->c_readfd);
390 @@ -148,7 +148,7 @@
394 - register CHILD *newc;
399 @@ -167,7 +167,7 @@
403 - register CHILD *pc;
408 @@ -280,7 +280,7 @@
412 - register CHILD *pc;
414 int status = 0;
417 @@ -336,7 +336,7 @@
421 - register CHILD *pc, *nextpc;
426 @@ -366,8 +366,8 @@
430 - register int count;
431 - register CHILD *pc;
437 --- rdist-6.1.5/src/docmd.c.cleanup 2003-12-17 11:38:16.000000000 +0100
438 +++ rdist-6.1.5/src/docmd.c 2003-12-17 11:38:16.000000000 +0100
439 @@ -38,7 +38,7 @@
443 -#ifndef lint
444 +#if 0
448 @@ -99,10 +99,10 @@
452 - register struct namelist *to;
456 - register int fd, len;
461 @@ -221,7 +221,7 @@
465 - register struct cmd *pcmd;
468 for (pcmd = cmdlist; pcmd; pcmd = pcmd->c_next) {
470 @@ -238,7 +238,7 @@
474 - register struct cmd *pc;
479 @@ -309,7 +309,7 @@
483 - register char *ruser, *cp;
488 @@ -430,9 +430,9 @@
492 - register struct namelist *f;
493 - register struct subcmd *sc;
494 - register char **cpp;
501 @@ -567,7 +567,6 @@
505 -done:
509 @@ -584,7 +583,7 @@
510 notify(rhost, sc->sc_args, (time_t) 0);
513 - register struct linkbuf *nextl, *l;
517 nextl = l->nextp;
518 @@ -601,11 +600,12 @@
524 - register char *name;
527 - register char *cp = name;
528 - register int c, isbad;
534 @@ -627,9 +627,9 @@
538 - register DIR *d;
539 - register DIRENTRY *dp;
540 - register char *cp;
547 @@ -641,7 +641,7 @@
550 len = ptarget - target;
551 - while (dp = readdir(d)) {
553 if (!strcmp(dp->d_name, ".") || !strcmp(dp->d_name, ".."))
555 if (len + 1 + (int)strlen(dp->d_name) >= BUFSIZ - 1) {
556 @@ -651,7 +651,7 @@
559 cp = dp->d_name;
560 - while (*ptarget++ = *cp++)
563 ptarget--;
565 @@ -740,9 +740,9 @@
569 - register struct subcmd *sc;
570 - register struct namelist *f;
571 - register char *cp, **cpp;
576 struct namelist *files = cmd->c_files;
577 struct subcmd *sbcmds = cmd->c_cmds;
578 @@ -824,8 +824,8 @@
582 - register struct subcmd *sc;
583 - register struct namelist *nl;
589 @@ -918,8 +918,8 @@
593 - register struct namelist *f;
594 - register int i;
599 for (i = 0; i < argc; i++) {
600 @@ -962,9 +962,9 @@
604 - register struct cmd *c;
605 - register char *cp;
606 - register int i;
613 @@ -1032,7 +1032,7 @@
617 - register struct namelist *nlptr;
620 for (nlptr = hostlist; nlptr; nlptr = nlptr->n_next)
622 --- rdist-6.1.5/src/distopt.c.cleanup 1998-11-10 05:09:11.000000000 +0100
623 +++ rdist-6.1.5/src/distopt.c 2003-12-17 11:38:16.000000000 +0100
624 @@ -6,7 +6,7 @@
628 -#ifndef lint
629 +#if 0
633 @@ -55,7 +55,7 @@
637 - register int i;
640 for (i = 0; distoptinfo[i].do_name; ++i)
641 if (strcasecmp(name, distoptinfo[i].do_name) == 0)
642 @@ -74,7 +74,7 @@
646 - register char *string, *optstr;
651 @@ -93,7 +93,7 @@
655 - if (distopt = getdistopt(optstr)) {
657 FLAG_ON(*optptr, distopt->do_value);
660 @@ -116,7 +116,7 @@
664 - register int i;
668 for (i = 0, buf[0] = CNULL; distoptinfo[i].do_name; ++i) {
669 @@ -138,7 +138,7 @@
673 - register int i;
677 for (i = 0, buf[0] = CNULL; distoptinfo[i].do_name; ++i) {
678 --- rdist-6.1.5/src/expand.c.cleanup 1998-11-10 05:09:31.000000000 +0100
679 +++ rdist-6.1.5/src/expand.c 2003-12-17 11:38:16.000000000 +0100
680 @@ -38,7 +38,7 @@
684 -#ifndef lint
685 +#if 0
689 @@ -81,9 +81,9 @@
693 - register u_char *s1, *s2;
696 - register char *cp;
701 @@ -97,12 +97,12 @@
705 - } while (*cp++ = *s1++);
707 cp--;
711 - } while (*cp++ = *s2++);
716 @@ -131,8 +131,8 @@
720 - register struct namelist *nl, *prev;
721 - register int n;
727 @@ -182,7 +182,7 @@
731 - register u_char *cp;
736 @@ -194,8 +194,8 @@
740 - register u_char *cp, *cp1;
741 - register struct namelist *tp;
747 @@ -302,7 +302,7 @@
748 cp1 = (u_char *)pw->pw_dir;
751 - for (cp = (u_char *)path; *cp++ = *cp1++; )
754 tpathp = pathp = (char *)cp - 1;
756 @@ -326,7 +326,7 @@
760 -static
765 @@ -341,8 +341,8 @@
769 - register u_char *cp, *oldcp;
770 - register char *spathp;
776 @@ -380,7 +380,7 @@
780 - register DIRENTRY *dp;
785 @@ -417,11 +417,12 @@
794 - register u_char *pe, *pm, *pl;
796 int brclev = 0;
799 @@ -507,11 +508,12 @@
800 return (0);
807 - register int c;
808 - register char *sentp;
814 @@ -524,11 +526,12 @@
820 - register char *s;
821 - register u_char *p;
825 - register int scc;
830 @@ -545,7 +548,7 @@
832 ok = 0;
834 - while (cc = *p++) {
839 @@ -599,7 +602,7 @@
843 - if (stat(path, &stb) == 0 && S_ISDIR(stb.st_mode))
844 + if (stat(path, &stb) == 0 && S_ISDIR(stb.st_mode)) {
848 @@ -609,6 +612,7 @@
855 return (0);
856 --- rdist-6.1.5/src/lookup.c.cleanup 1998-11-10 05:12:56.000000000 +0100
857 +++ rdist-6.1.5/src/lookup.c 2003-12-17 11:38:16.000000000 +0100
858 @@ -38,7 +38,7 @@
862 -#ifndef lint
863 +#if 0
867 @@ -68,11 +68,12 @@
875 - register char *cp, *s;
876 - register struct namelist *nl;
882 @@ -137,9 +138,9 @@
886 - register unsigned n;
887 - register char *cp;
888 - register struct syment *s;
895 --- rdist-6.1.5/src/isexec.c.cleanup 1998-11-10 05:11:42.000000000 +0100
896 +++ rdist-6.1.5/src/isexec.c 2003-12-17 11:38:16.000000000 +0100
897 @@ -37,7 +37,7 @@
901 -#ifndef lint
902 +#if 0
906 --- rdist-6.1.5/src/signal.c.cleanup 1998-11-10 05:16:13.000000000 +0100
907 +++ rdist-6.1.5/src/signal.c 2003-12-17 11:38:16.000000000 +0100
908 @@ -38,7 +38,7 @@
912 -#ifndef lint
913 +#if 0
917 --- rdist-6.1.5/src/rshrcmd.c.cleanup 1998-11-10 05:15:07.000000000 +0100
918 +++ rdist-6.1.5/src/rshrcmd.c 2003-12-17 11:38:16.000000000 +0100
919 @@ -10,7 +10,7 @@
923 -#ifndef lint
924 +#if 0
928 @@ -34,6 +34,7 @@
936 @@ -108,6 +109,7 @@
937 (void) wait(0);
938 return sp[0];
940 + return -1;
944 --- rdist-6.1.5/src/common.c.cleanup 1998-11-10 05:09:01.000000000 +0100
945 +++ rdist-6.1.5/src/common.c 2003-12-17 11:38:16.000000000 +0100
946 @@ -38,7 +38,7 @@
950 -#ifndef lint
951 +#if 0
955 @@ -87,14 +87,14 @@
959 -extern WRITE_RETURN_T xwrite(fd, buf, len)
967 - register char *ptr = buf;
970 while (nleft > 0) {
971 if ((nwritten = write(fd, ptr, nleft)) <= 0) {
972 @@ -110,14 +110,14 @@
976 -extern void setprogname(argv)
980 - register char *cp;
984 progname = strdup(argv[0]);
985 - if (cp = strrchr(progname, '/'))
990 @@ -125,14 +125,14 @@
992 * Do run-time initialization
994 -extern int init(argc, argv, envp)
1001 - register int i;
1002 - register char *cp;
1008 @@ -182,7 +182,7 @@
1012 -extern void finish()
1017 @@ -216,7 +216,7 @@
1021 -extern void lostconn()
1026 @@ -232,7 +232,7 @@
1030 -extern void coredump()
1033 error("Segmentation violation - dumping core [PID = %d, %s]",
1035 @@ -245,7 +245,7 @@
1039 -extern void sighandler(sig)
1044 @@ -325,7 +325,7 @@
1048 -extern int sendcmd(char cmd, char *fmt, ...)
1053 @@ -345,7 +345,7 @@
1057 -extern int sendcmd(va_alist)
1062 @@ -372,7 +372,7 @@
1066 -extern int sendcmd(cmd, fmt, a1, a2, a3, a4, a5, a6, a7, a8)
1071 @@ -433,13 +433,13 @@
1075 -extern int remline(buffer, space, doclean)
1076 - register u_char *buffer;
1082 - register int c, left = space;
1083 - register u_char *p = buffer;
1087 if (rem_r < 0) {
1089 @@ -494,9 +494,9 @@
1091 * Non-line-oriented remote read.
1093 -readrem(p, space)
1096 - register int space;
1099 if (remleft <= 0) {
1101 @@ -527,7 +527,7 @@
1105 -extern char *getusername(uid, file, opts)
1110 @@ -566,7 +566,7 @@
1114 -extern char *getgroupname(gid, file, opts)
1119 @@ -604,7 +604,7 @@
1123 -extern int response()
1128 @@ -646,6 +646,7 @@
1132 + return -1;
1136 @@ -657,11 +658,11 @@
1140 -extern char *exptilde(ebuf, file)
1143 - register char *file;
1146 - register char *s1, *s2, *s3;
1151 @@ -694,12 +695,12 @@
1153 s2 = pw->pw_dir;
1155 - for (s1 = ebuf; *s1++ = *s2++; )
1158 s2 = --s1;
1161 - while (*s1++ = *s3++)
1166 @@ -710,7 +711,7 @@
1170 -extern int becomeuser()
1173 int r = 0;
1175 @@ -732,7 +733,7 @@
1177 * Set our effective user id to "root" (uid = 0)
1179 -extern int becomeroot()
1182 int r = 0;
1184 @@ -753,7 +754,7 @@
1188 -extern int setfiletime(file, atime, mtime)
1193 @@ -790,7 +791,7 @@
1197 -extern char *getversion()
1202 @@ -811,7 +812,7 @@
1206 - register char *cp, *s;
1210 if (pipe(fd) < 0) {
1211 @@ -933,12 +934,12 @@
1215 -extern char *xbasename(path)
1219 - register char *cp;
1222 - if (cp = strrchr(path, '/'))
1227 @@ -949,11 +950,11 @@
1231 -extern char *searchpath(path)
1235 - register char *cp;
1236 - register char *file;
1242 @@ -977,8 +978,7 @@
1246 -extern void
1247 -mysetlinebuf(fp)
1252 @@ -995,8 +995,7 @@
1256 -int
1257 -getsocketpair(domain, type, protocol, sv)
1262 --- rdist-6.1.5/src/message.c.cleanup 1998-11-10 05:13:30.000000000 +0100
1263 +++ rdist-6.1.5/src/message.c 2003-12-17 11:38:16.000000000 +0100
1264 @@ -38,7 +38,7 @@
1268 -#ifndef lint
1269 +#if 0
1273 @@ -97,7 +97,7 @@
1277 - register int i, x;
1282 @@ -120,7 +120,7 @@
1286 - register int i, x;
1291 @@ -145,7 +145,7 @@
1295 - register int i;
1298 for (i = 0; msgfacility[i].mf_name; ++i)
1299 if (strcasecmp(name, msgfacility[i].mf_name) == 0)
1300 @@ -160,7 +160,7 @@
1304 - register int i;
1307 for (i = 0; msgtypes[i].mt_name; ++i)
1308 if (strcasecmp(name, msgtypes[i].mt_name) == 0)
1309 @@ -178,9 +178,9 @@
1313 - register char *cp;
1314 - register char *strptr, *word;
1315 - register MSGTYPE *mtp;
1322 @@ -240,11 +240,11 @@
1323 msgfac->mf_msgtypes = 0; /* Start from scratch */
1326 - if (cp = strchr(strptr, ','))
1331 - if (mtp = getmsgtype(word)) {
1333 msgfac->mf_msgtypes |= mtp->mt_type;
1336 @@ -272,8 +272,8 @@
1340 - register char *cp, *optstr;
1341 - register char *word;
1347 @@ -308,7 +308,7 @@
1351 - if (mcp = setmsgtypes(msgfac, cp))
1356 @@ -462,8 +462,9 @@
1359 if (!msgfac->mf_fptr) {
1360 - register char *cp;
1367 @@ -475,7 +476,10 @@
1370 msgfac->mf_filename = tempfile;
1371 - (void) mktemp(msgfac->mf_filename);
1372 + fd = mkstemp(msgfac->mf_filename);
1373 + if (fd < 0)
1374 + fatalerr("Cannot open notify file for writing: %s: %s.", msgfac->mf_filename, SYSERR);
1376 if ((msgfac->mf_fptr = fopen(msgfac->mf_filename, "w"))==NULL)
1378 msgfac->mf_filename, SYSERR);
1379 @@ -515,15 +519,15 @@
1383 - register int i, x;
1384 - register char *cp;
1393 - if (cp = strchr(msgbuf, '\n'))
1398 @@ -863,7 +867,7 @@
1402 - register int i;
1405 for (i = 0; msgfacility[i].mf_name; i++)
1407 --- rdist-6.1.5/src/setargs.c.cleanup 2003-12-17 11:38:16.000000000 +0100
1408 +++ rdist-6.1.5/src/setargs.c 2003-12-17 11:38:16.000000000 +0100
1409 @@ -38,7 +38,7 @@
1413 -#ifndef lint
1414 +#if 0
1418 @@ -66,12 +66,12 @@
1422 -setargs_settup(argc, argv, envp)
1428 - register int i;
1433 @@ -92,10 +92,10 @@
1437 -extern void _setproctitle(msg)
1441 - register int i;
1445 p = Argv[0];
1446 @@ -119,7 +119,7 @@
1448 * Varargs front-end to _setproctitle()
1450 -extern void setproctitle(va_alist)
1455 @@ -138,7 +138,7 @@
1457 * Stdarg front-end to _setproctitle()
1459 -extern void setproctitle(char *fmt, ...)
1464 @@ -155,7 +155,7 @@
1465 * Non-Varargs front-end to _setproctitle()
1468 -extern void setproctitle(fmt, a1, a2, a3, a4, a5, a6)
1473 --- rdist-6.1.5/src/rdistd.c.cleanup 1998-11-10 05:14:06.000000000 +0100
1474 +++ rdist-6.1.5/src/rdistd.c 2003-12-17 11:38:16.000000000 +0100
1475 @@ -38,7 +38,7 @@
1479 -#ifndef lint
1480 +#if 0
1484 @@ -53,21 +53,12 @@
1488 -/*
1489 - * Print usage message
1490 - */
1491 -static void usage()
1492 -{
1493 - fprintf(stderr, "usage: %s -S [ -DV ]\n", progname);
1494 - exit(1);
1495 -}
1496 -
1502 -main(argc, argv, envp)
1507 @@ -95,7 +86,8 @@
1511 - usage();
1512 + fprintf(stderr, "usage: %s -S [ -DV ]\n", progname);
1517 @@ -108,7 +100,7 @@
1521 - if (cp = msgparseopts(localmsglist, TRUE))
1526 --- rdist-6.1.5/src/server.c.cleanup 2003-12-17 11:38:16.000000000 +0100
1527 +++ rdist-6.1.5/src/server.c 2003-12-17 11:38:16.000000000 +0100
1528 @@ -37,7 +37,7 @@
1532 -#ifndef lint
1533 +#if 0
1537 @@ -197,7 +197,7 @@
1538 static UID_T last_uid = (UID_T)-2;
1541 - register int i;
1545 GID_T primegid = (GID_T)-2;
1546 @@ -252,7 +252,7 @@
1550 - if (gr = mygetgroup(group)) {
1552 last_gid = gid = gr->gr_gid;
1553 strcpy(last_group, gr->gr_name);
1555 @@ -325,7 +325,7 @@
1559 - register char *cp;
1563 int len, failures = 0;
1564 @@ -362,7 +362,7 @@
1567 len = ptarget - target;
1568 - while (dp = readdir(d)) {
1570 if ((D_NAMLEN(dp) == 1 && dp->d_name[0] == '.') ||
1571 (D_NAMLEN(dp) == 2 && dp->d_name[0] == '.' &&
1572 dp->d_name[1] == '.'))
1573 @@ -376,7 +376,7 @@
1576 cp = dp->d_name;;
1577 - while (*ptarget++ = *cp++)
1580 ptarget--;
1581 if (lstat(target, &stb) < 0) {
1582 @@ -414,10 +414,10 @@
1586 - register char *cp;
1590 - register DIRENTRY *dp;
1595 @@ -436,7 +436,7 @@
1598 len = ptarget - target;
1599 - while (dp = readdir(d)) {
1601 if ((D_NAMLEN(dp) == 1 && dp->d_name[0] == '.') ||
1602 (D_NAMLEN(dp) == 2 && dp->d_name[0] == '.' &&
1603 dp->d_name[1] == '.'))
1604 @@ -450,7 +450,7 @@
1607 cp = dp->d_name;;
1608 - while (*ptarget++ = *cp++)
1611 ptarget--;
1612 if (lstat(target, &stb) < 0) {
1613 @@ -481,7 +481,7 @@
1617 - register char *cp;
1622 @@ -509,7 +509,7 @@
1626 - register char *cp;
1631 @@ -667,7 +667,7 @@
1635 - register char *cp;
1638 int r = -1;
1640 @@ -760,7 +760,7 @@
1642 int f, wrerr, olderrno, lastwashole = 0, wassparse = 0;
1644 - register char *cp;
1649 @@ -987,7 +987,7 @@
1653 - register char *cp;
1658 @@ -1044,7 +1044,7 @@
1660 o = (owner[0] == ':') ? opts & DO_NUMCHKOWNER :
1662 - if (cp = getusername(stb.st_uid, target, o))
1667 @@ -1053,7 +1053,7 @@
1669 o = (group[0] == ':') ? opts & DO_NUMCHKGROUP :
1671 - if (cp = getgroupname(stb.st_gid, target, o))
1676 @@ -1107,8 +1107,8 @@
1677 if (s < 0) {
1679 if (mkdir(target, mode) == 0 ||
1680 - chkparent(target, opts) == 0 &&
1681 - mkdir(target, mode) == 0) {
1682 + (chkparent(target, opts) == 0 &&
1683 + mkdir(target, mode) == 0)) {
1685 (void) fchog(-1, target, owner, group, mode);
1687 @@ -1304,7 +1304,7 @@
1691 - register char *cp = cmd;
1696 @@ -1338,7 +1338,7 @@
1700 - if (estr = msgparseopts(cp, TRUE)) {
1705 @@ -1455,7 +1455,7 @@
1709 - while (*ptarget++ = *file++)
1712 ptarget--;
1714 @@ -1463,6 +1463,7 @@
1719 if (catname && cattarget(file) < 0) {
1722 @@ -1477,7 +1478,12 @@
1726 - (void) mktemp(new);
1728 + if (fd < 0) {
1736 @@ -1581,8 +1587,8 @@
1740 - register char *cp;
1741 - register int n;
1747 --- rdist-6.1.5/src/filesys.c.cleanup 1998-11-10 05:10:18.000000000 +0100
1748 +++ rdist-6.1.5/src/filesys.c 2003-12-17 11:38:16.000000000 +0100
1749 @@ -38,7 +38,7 @@
1753 -#ifndef lint
1754 +#if 0
1758 @@ -72,7 +72,7 @@
1762 - register char *p;
1767 @@ -125,7 +125,7 @@
1771 - if (p = (char *) strrchr(file, '/')) {
1776 @@ -183,7 +183,7 @@
1780 - register struct mntinfo *mi;
1783 for (mi = mntinfo; mi; mi = mi->mi_nxt) {
1784 if (mi->mi_mnt->me_flags & MEFLAG_IGNORE)
1785 @@ -202,7 +202,7 @@
1789 - register struct mntinfo *m;
1792 for (m = mntinfo; m; m = m->mi_nxt)
1793 if (strcmp(m->mi_mnt->me_path, mnt->me_path) == 0)
1794 @@ -247,7 +247,7 @@
1798 - while (mnt = getmountent(mfp)) {
1801 mnt->me_path, mnt->me_type);
1803 @@ -308,7 +308,7 @@
1807 - register mntent_t *mnt;
1812 @@ -330,16 +330,16 @@
1816 - if (mnt = findmnt(pstat, mntinfo))
1824 - if (tmpmi = makemntinfo(mntinfo)) {
1827 - if (mnt = findmnt(pstat, mntinfo))
1832 --- rdist-6.1.5/src/filesys-os.c.cleanup 1998-11-10 05:09:59.000000000 +0100
1833 +++ rdist-6.1.5/src/filesys-os.c 2003-12-17 11:38:16.000000000 +0100
1834 @@ -38,7 +38,7 @@
1838 -#ifndef lint
1839 +#if 0
1841 "$Id: filesys-os.c,v 6.18 1998/11/10 04:09:58 mcooper Exp $";
1843 @@ -314,7 +314,7 @@
1847 - if (mntent = getmntent(fptr)) {
1849 me.me_path = mntent->mnt_dir;
1850 me.me_type = mntent->mnt_type;
1851 if (mntent->mnt_opts && hasmntopt(mntent, MNTOPT_RO))
1852 --- rdist-6.1.5/src/strcasecmp.c.cleanup 1998-11-10 05:16:52.000000000 +0100
1853 +++ rdist-6.1.5/src/strcasecmp.c 2003-12-17 11:38:16.000000000 +0100
1854 @@ -51,9 +51,9 @@
1858 - register char *s1, *s2;
1861 - register char *cm = charmap;
1865 if (*s1++ == '\0')
1866 @@ -62,10 +62,10 @@
1870 - register char *s1, *s2;
1871 - register int n;
1875 - register char *cm = charmap;
1878 while (--n >= 0 && cm[*s1] == cm[*s2++])
1879 if (*s1++ == '\0')
1880 --- rdist-6.1.5/src/strtol.c.cleanup 1994-03-17 00:25:50.000000000 +0100
1881 +++ rdist-6.1.5/src/strtol.c 2003-12-17 11:38:16.000000000 +0100
1882 @@ -54,13 +54,13 @@
1886 - register int base;
1889 - register char *s = nptr;
1890 - register unsigned long acc;
1891 - register int c;
1892 - register unsigned long cutoff;
1893 - register int neg = 0, any, cutlim;
1898 + int neg = 0, any, cutlim;
1901 * Skip white space and pick up leading +/- sign if any.
1902 --- rdist-6.1.5/src/regex.c.cleanup 1998-11-10 05:14:28.000000000 +0100
1903 +++ rdist-6.1.5/src/regex.c 2003-12-17 11:39:14.000000000 +0100
1904 @@ -142,10 +142,8 @@
1908 - register char *sp;
1910 - register int c;
1911 - register char *ep = expbuf;
1913 int cclcnt, numbra = 0;
1914 char *lastep = 0;
1916 @@ -266,10 +264,10 @@
1920 - register char *p1;
1923 - register char *p2 = expbuf;
1924 - register int c;
1929 for (c = 0; c < NBRA; c++) {
1930 @@ -306,9 +304,9 @@
1934 - register char *lp, *ep;
1937 - register char *curlp;
1942 @@ -413,10 +411,10 @@
1946 - register int i;
1947 - register char *lp;
1951 - register char *bp;
1956 @@ -427,10 +425,10 @@
1960 - register char *set, c;
1964 - register int n;
1967 if (c == 0)
1968 return(0);
1969 --- rdist-6.1.5/include/defs.h.cleanup 2003-12-17 11:38:16.000000000 +0100
1970 +++ rdist-6.1.5/include/defs.h 2003-12-17 11:38:16.000000000 +0100
1971 @@ -30,11 +30,13 @@
1979 -#include <sys/time.h>
1985 #include "config-def.h"
1986 @@ -48,6 +50,9 @@
1995 * This belongs in os-svr4.h but many SVR4 OS's
1996 @@ -321,12 +326,11 @@
2000 -char *exptilde();
2005 -extern char *xbasename();
2010 @@ -336,44 +340,75 @@
2051 -extern void log();
2074 -extern WRITE_RETURN_T xwrite();