projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Moved and renamed some documentation files.
[mmh]
/
uip
/
rcvdist.c
diff --git
a/uip/rcvdist.c
b/uip/rcvdist.c
index
58bf62d
..
ac19149
100644
(file)
--- a/
uip/rcvdist.c
+++ b/
uip/rcvdist.c
@@
-66,7
+66,7
@@
main(int argc, char **argv)
continue;
case HELPSW:
continue;
case HELPSW:
- snprintf(buf, sizeof(buf), "%s [switches] [switches for postproc] address ...", invo_name);
+ snprintf(buf, sizeof(buf), "%s [switches] [switches for spost] address ...", invo_name);
print_help(buf, switches, 1);
done(1);
case VERSIONSW:
print_help(buf, switches, 1);
done(1);
case VERSIONSW:
@@
-85,7
+85,7
@@
main(int argc, char **argv)
}
if (!addrs) {
}
if (!addrs) {
- adios(NULL, "usage: %s [switches] [switches for postproc] address ...", invo_name);
+ adios(NULL, "usage: %s [switches] [switches for spost] address ...", invo_name);
}
umask(~m_gmprot());
}
umask(~m_gmprot());
@@
-108,14
+108,14
@@
main(int argc, char **argv)
done(1);
}
done(1);
}
- vec[0] = mhbasename(postproc);
+ vec[0] = "spost";
vec[vecp++] = "-dist";
vec[vecp++] = drft;
vec[vecp] = NULL;
vec[vecp++] = "-dist";
vec[vecp++] = drft;
vec[vecp] = NULL;
- execvp(postproc, vec);
+ execvp(*vec, vec);
fprintf(stderr, "unable to exec ");
fprintf(stderr, "unable to exec ");
- perror(postproc);
+ perror(*vec);
_exit(1);
return 0; /* dead code to satisfy the compiler */
}
_exit(1);
return 0; /* dead code to satisfy the compiler */
}