projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Note in dist, mh-profile, and repl man pages that the @ link
[mmh]
/
sbr
/
folder_delmsgs.c
diff --git
a/sbr/folder_delmsgs.c
b/sbr/folder_delmsgs.c
index
b812def
..
c1416a6
100644
(file)
--- a/
sbr/folder_delmsgs.c
+++ b/
sbr/folder_delmsgs.c
@@
-40,9
+40,6
@@
folder_delmsgs (struct msgs *mp, int unlink_msgs, int nohook)
/* Mark that the sequence information has changed */
mp->msgflags |= SEQMOD;
/* Mark that the sequence information has changed */
mp->msgflags |= SEQMOD;
- if (mp->numsel > MAXARGS - 2)
- adios (NULL, "more than %d messages for %s exec", MAXARGS - 2,
- rmmproc);
vec = (char **) calloc ((size_t) (mp->numsel + 2), sizeof(*vec));
if (vec == NULL)
adios (NULL, "unable to allocate exec vector");
vec = (char **) calloc ((size_t) (mp->numsel + 2), sizeof(*vec));
if (vec == NULL)
adios (NULL, "unable to allocate exec vector");
@@
-57,7
+54,7
@@
folder_delmsgs (struct msgs *mp, int unlink_msgs, int nohook)
fflush (stdout);
vec[0] = r1bindex (rmmproc, '/');
fflush (stdout);
vec[0] = r1bindex (rmmproc, '/');
- switch (pid = m_vfork()) {
+ switch (pid = vfork()) {
case -1:
advise ("fork", "unable to");
return -1;
case -1:
advise ("fork", "unable to");
return -1;