unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* compiletime error
@ 2004-05-22 22:17 Hyperdivision
  2004-05-30  7:49 ` Dirk Herrmann
  0 siblings, 1 reply; 3+ messages in thread
From: Hyperdivision @ 2004-05-22 22:17 UTC (permalink / raw)



guile/guile-core/libguile/rdelim.c:204 slen may be uninitialized
(slen=0 ?)

-hyper.


_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: compiletime error
  2004-05-22 22:17 compiletime error Hyperdivision
@ 2004-05-30  7:49 ` Dirk Herrmann
  2004-05-30 17:27   ` Hyperdivision
  0 siblings, 1 reply; 3+ messages in thread
From: Dirk Herrmann @ 2004-05-30  7:49 UTC (permalink / raw)
  Cc: bug-guile

Hyperdivision wrote:

>guile/guile-core/libguile/rdelim.c:204 slen may be uninitialized
>(slen=0 ?)
>  
>
slen is not uninitialized: It is always initialised by the call

  scm_do_read_line (port, &slen);

which is called unconditionally. I am not sure whether it would be a good
idea to add an additional (useless) initialisation to slen, since this would
seem like the value was of any importance when scm_do_read_line is
called.

With which compiler and compiler settings did you get a compiler error?

Best regards
Dirk



_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: compiletime error
  2004-05-30  7:49 ` Dirk Herrmann
@ 2004-05-30 17:27   ` Hyperdivision
  0 siblings, 0 replies; 3+ messages in thread
From: Hyperdivision @ 2004-05-30 17:27 UTC (permalink / raw)
  Cc: bug-guile

> From dirk@dirk-herrmanns-seiten.de  Sat May 29 20:23:24 2004
> Return-Path: <dirk@dirk-herrmanns-seiten.de>
> X-Original-To: hyperdivision@sleepynyago.dyndns.org
> Delivered-To: hyperdivision@sleepynyago.dyndns.org
> Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.189])
> 	by sleepynyago.dyndns.org (Postfix) with ESMTP id 866AD7B38
> 	for <hyperdivision@sleepynyago.dyndns.org>; Sat, 29 May 2004 20:23:24 -0500 (CDT)
> Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de)
> 	by moutng.kundenserver.de with esmtp (Exim 3.35 #1)
> 	id 1BUKew-0002Zj-00; Sun, 30 May 2004 09:23:06 +0200
> Received: from [80.131.40.76] (helo=dirk-herrmanns-seiten.de)
> 	by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1)
> 	id 1BUKev-0001Eb-00; Sun, 30 May 2004 09:23:06 +0200
> Message-ID: <40B99220.20005@dirk-herrmanns-seiten.de>
> Date: Sun, 30 May 2004 09:49:52 +0200
> From: Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2) Gecko/20040220
> X-Accept-Language: de, en
> MIME-Version: 1.0
> To: Hyperdivision <hyperdivision@sleepynyago.dyndns.org>
> Cc: bug-guile@gnu.org
> Subject: Re: compiletime error
> References: <40AFD196.mailJMW11X5JQ@localhost>
> In-Reply-To: <40AFD196.mailJMW11X5JQ@localhost>
> X-Enigmail-Version: 0.76.8.0
> X-Enigmail-Supports: pgp-inline, pgp-mime
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:494e3e4d1bf8dc247959c49e6f1f4215
> Status: R
>
> Hyperdivision wrote:
>
> >guile/guile-core/libguile/rdelim.c:204 slen may be uninitialized
> >(slen=0 ?)
> >  
> >
> slen is not uninitialized: It is always initialised by the call
>
>   scm_do_read_line (port, &slen);
>
> which is called unconditionally. I am not sure whether it would be a good
> idea to add an additional (useless) initialisation to slen, since this would
> seem like the value was of any importance when scm_do_read_line is
> called.
>
> With which compiler and compiler settings did you get a compiler error?
>
> Best regards
> Dirk
>
>
gcc-cvs (a couple weeks old)
guile will not compile as is,
i need to initialize slen with something.

~hyper.


_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-30 17:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-22 22:17 compiletime error Hyperdivision
2004-05-30  7:49 ` Dirk Herrmann
2004-05-30 17:27   ` Hyperdivision

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).