[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
A patch for mea's 2.93 ...
This is also as:
ftp://ftp.funet.fi/pub/unix/mail/zmailer/zmailer-2.93-940816.patch1
A patch for making "newaliases" to work without core-drop.
This is in fact in eval(), but only from trapexit() it gets
called with savefile == NULL..
I intend to look at several MIME-things next, and won't release
code until those are fully functional -- intermediate phase is
likely to be messy.. -- oh, and autoconfigure will come to queue
as well..
/Matti Aarnio <mea@nic.funet.fi>
*** libsh/trap.c~ Mon Jul 25 13:36:27 1994
--- libsh/trap.c Wed Aug 17 14:10:26 1994
***************
*** 159,168 ****
u_char *table, *eotable;
FILE *fp;
char *fcfile;
#ifdef USE_ALLOCA
! char *buf = alloca(strlen(savefile)+9);
#else
! char *buf = emalloc(strlen(savefile)+9);
#endif
commandline = s_pushstack(commandline, script);
--- 159,171 ----
u_char *table, *eotable;
FILE *fp;
char *fcfile;
+ char *buf = NULL;
#ifdef USE_ALLOCA
! if (savefile != NULL)
! buf = alloca(strlen(savefile)+9);
#else
! if (savefile != NULL)
! buf = emalloc(strlen(savefile)+9);
#endif
commandline = s_pushstack(commandline, script);