cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/15/19:55:12

From: Jawed Karim <kari0022 AT tc DOT umn DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: FOUND DJP BUG.
Date: Tue, 15 Apr 1997 15:24:23 -0500
Organization: University of Minnesota
Lines: 23
Message-ID: <3353E3F7.6369@tc.umn.edu>
Reply-To: kari0022 AT tc DOT umn DOT edu
NNTP-Posting-Host: pub-20-a-141.dialup.umn.edu
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

/*
compile the following code with DJGPP and run it. Observe the output.
Then, run DJP on the executable and run it again. The output differs! I
think that qualifies as a bug, because compressed EXE's should not
behave any differently than uncompressed EXE's.
*/

#include <stdio.h>

void main(void)
{
        char *string = NULL;

        if (*string != NULL)
                printf("\n%s\n", string);
}

/* --
Jawed Karim
http://umn.edu/~kari0022

jaw3d Model Viewer (DOS and Linux): http://jaw3d.home.ml.org
*/

- Raw text -


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