🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #46960

Re: Slrn References problem

#46960
From: Christian Kurz
Date: Mon, 01 Mar 1999 00:00
30 lines
2274 bytes
Thomas Schultz <tststs@gmx.de> wrote:
> On 28 Feb 1999, Felix Schueller <fschueller@netcologne.de> wrote:

> > |< char line[1024], *the_line;
> > to
> > |> char line[1100], *the_line;
> [...]
> > But I don't know whether there's a better solution.

[...]
> You could make this extremely unlikely to happen by setting the limit
> to 2048 or such, but I don't know enough about C to tell if there is a
> solution that does not make it necessary to set a fixed limit at all
> (which would IMO be even better).

I'm learning C and the moment [self-teaching] and it seems as there's a
solution without a fixed limit. With the routine malloc you can request
more memory, if it's needed. But I don't know if this function could be
used without interactivity [It seems so] and if you could change the
source so, that this is possible. Maybe some one, who can more C than
me, could take a look at this.

Ciao
     Christian
-- 
Menschen, die blo� arbeiten, finden keine Zeit zum Tr�umen. Nur wer 
tr�umt gelangt zur Weisheit.                   SMOHALLA (Nez Perce)
/* http://www.rhein-neckar.de/~jupiter/                Christian Kurz */

Technical Details
Message-ID: <7bdqjt$k15$1@jupiter.rhein-neckar.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn7d7k8q.oth.acampbell@achc.demon.co.uk> <1dnslmv.289xjzpgjbalN@roxboro0-0034.dyn.interpath.net> <slrn7de3og.74.tststs@tststs.ddns.org> <1dnulq2.1so4x54afxulxN@roxboro0-0006.dyn.interpath.net> <nrls7dg6ua.6bv.fschueller@fschueller.ddns.org> <1dnw18p.1y5wf4ic9pguN@roxboro0-0028.dyn.interpath.net> <slrn7dgot6.ho.tststs@tststs.ddns.org> <nrls7dim40.c81.fschueller@fschueller.ddns.org> <slrn7djapk.10s.tststs@tststs.ddns.org>

Show Full Headers
Complete Article Headers
Message-ID: <7bdqjt$k15$1@jupiter.rhein-neckar.de>
Subject: Re: Slrn References problem
Date: Mon, 01 Mar 1999 00:00:00 +0000
From: shorty@jupiter.rhein-neckar.de (Christian Kurz)
References: <slrn7d7k8q.oth.acampbell@achc.demon.co.uk> <1dnslmv.289xjzpgjbalN@roxboro0-0034.dyn.interpath.net> <slrn7de3og.74.tststs@tststs.ddns.org> <1dnulq2.1so4x54afxulxN@roxboro0-0006.dyn.interpath.net> <nrls7dg6ua.6bv.fschueller@fschueller.ddns.org> <1dnw18p.1y5wf4ic9pguN@roxboro0-0028.dyn.interpath.net> <slrn7dgot6.ho.tststs@tststs.ddns.org> <nrls7dim40.c81.fschueller@fschueller.ddns.org> <slrn7djapk.10s.tststs@tststs.ddns.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 450121578
Content-Transfer-Encoding: 8bit
Mail-Copies-To: never
Content-Type: text/plain; charset=iso-8859-1
Organization: Core dumped
Mime-Version: 1.0
User-Agent: slrn/0.9.5.4 (csk) (UNIX)
Newsgroups: news.software.readers