On Tue, 8 May 2012 18:22:51 +0200
Joerg Sonnenberger wrote:
> On Tue, May 08, 2012 at 06:19:55PM +0200, Thomas Pfaff wrote:
> > On Tue, 8 May 2012 09:55:53 -0400
> > Okan Demirmen wrote:
> > >
> > > Not really a pasto; from putenv():
> > >
> > > P = (char **)realloc(lastenv, sizeof(char *) *
On Tue, May 08, 2012 at 06:19:55PM +0200, Thomas Pfaff wrote:
> On Tue, 8 May 2012 09:55:53 -0400
> Okan Demirmen wrote:
> >
> > Not really a pasto; from putenv():
> >
> > P = (char **)realloc(lastenv, sizeof(char *) * (cnt + 2));
>
> *puke*
>
> Ok?
If you want to drop the first cast, you
On Tue, 8 May 2012 09:55:53 -0400
Okan Demirmen wrote:
>
> Not really a pasto; from putenv():
>
> P = (char **)realloc(lastenv, sizeof(char *) * (cnt + 2));
*puke*
Ok?
Index: setenv.c
===
RCS file: /cvs/src/lib/libc/stdlib/
On Tue 2012.05.08 at 00:07 -0400, Lawrence Teo wrote:
> This diff fixes the error message for one of the log_it() calls in cron
> (was probably a pasto). While here, also fix the style for two other
> log_it() calls.
>
> Lawrence
>
> Index: cron.c
> ==
This diff fixes the error message for one of the log_it() calls in cron
(was probably a pasto). While here, also fix the style for two other
log_it() calls.
Lawrence
Index: cron.c
===
RCS file: /cvs/src/usr.sbin/cron/cron.c,v
retrie