delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/12/02:43:15

From: Stefan =?iso-8859-1?Q?Sp=E4nnare?= <stefans AT astro DOT lu DOT se>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Differences between Win 95 and Win 98
Date: Fri, 12 May 2000 08:44:42 +0200
Organization: Lund University
Lines: 55
Message-ID: <391BA85A.7C8DD1E5@astro.lu.se>
References: <3918626E DOT B83E232C AT astro DOT lu DOT se>
NNTP-Posting-Host: h55s306-1.delphi.afb.lu.se
Mime-Version: 1.0
X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20 i686)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Dear DJGPP People,

My problem (see below) was not due to DJGPP or Windows 98.
It was a classical programming error of not setting a malloced array to
zero before using it. However I only noticed the error in Windows 98.
It didn't emerge in Windows 95 or UNIX/Linux, which is
somewhat strange ...

A new (corrected) version of the program (sspiel2.c) is now available
on my home page:

http://nastol.astro.lu.se/~stefans/program.html

I apologize very much for all trouble and thanks for all help !

With best regards

Stefan Spännare
Email: stefans AT astro DOT lu DOT se



Stefan Spännare wrote:

> Dear DJGPP Gurus,
>
> I wonder if there is a difference (perhaps memory or stack related)
> between Windows 95 and Windows 98 (perhaps also between
> Windows 98 and Windows 98 second edition) when running
> C-programs compiled with DJGPP ?
>
> I have noticed that my program "sspiel2.c" sometimes craches
> when running Windows 98 second edition but not when running
> Windows 95. The problem only arises when calculating e=exp(1)
> using "Recursive Binary Splitting" which is heavily recursive (the
> other parts of the program are not recursive). Perhaps I should
> mention that the program also works fine on UNIX/Linux
> computers.
>
> The program "sspiel2.c" is found on my home-page:
>
> http://nastol.astro.lu.se/~stefans/program.html
>
> If you are interested and have time perhaps you can test the
> program !? Perhaps you have some hints how to configure
> Windows 98 second edition to make the program run
> properly (or similar to Windows 95) ?
>
> All help is very much appreciated !
>
> Best regards
>
> Stefan Spännare
> Email: stefans AT astro DOT lu DOT se

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019