Re: NNTPC: improved lo/hi behaviour

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Herbert Xu wrote:
> 
> On Sun, Jul 26, 1998 at 11:13:38PM +1000, Peter Tonoli wrote:
> >
> > On Sun, 26 Jul 1998, Evan Champion wrote:
> >
> > > There are some linux-isms in those diffs, even within src.  For example, the
> > > dummy malloc() code.  Could you wrap such things in #ifdef __linux__ or
> > > whatever linux uses?
> 
> That's not a linuxism.  The calloc can potentially affect everybody and may
> explain some of the weird segfaults people are seeing.

Mmmmhh.
On Solaris 2.6, your code (version -9) results in the following:


Jul 27 13:51:34 demdwu29 nntpcache-update[21402]: parsing 'active'  from
xxx.yyy.zzz.
Jul 27 13:51:35 demdwu29 nntpcache-update[21402]: nmalloc.c:25: XMcalloc
call from list.c:__LINE__ for 96 bytes failed
Jul 27 13:51:35 demdwu29 nntpcache-update[21402]: clean shutdown with
error 1. dumping core for debug analysis


Can you help there, Herbert ?

> 
> > > It would be very nice if somehow the non-linux stuff could be separated out.
> >
> > Are any of these patches fixed for Linux but still broken on other arch's
> > Herbert?
> 

Markus
begin:vcard
n:Storm;Markus
tel;fax:++49 +5241 80-67867
x-mozilla-html:TRUE
org:mediaWays GmbH;NTM-T
adr:;;;Gütersloh;;33311;Germany
version:2.1
email;internet:Markus.Storm@mediaWays.net
x-mozilla-cpt:;-15488
fn:Markus Storm
end:vcard


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux