www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/01/19/11:28:05

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <10201191628.AA14993@clio.rice.edu>
Subject: Re: env.exe crash - reproducible test program
To: djgpp-workers AT delorie DOT com, eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
Date: Sat, 19 Jan 2002 10:28:01 -0600 (CST)
Cc: rich AT phekda DOT freeserve DOT co DOT uk (Richard Dawe)
In-Reply-To: <3099-Sat19Jan2002144449+0200-eliz@is.elta.co.il> from "Eli Zaretskii" at Jan 19, 2002 02:44:49 PM
X-Mailer: ELM [version 2.5 PL2]
Mime-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Note, I've discovered this doesn't work either and has nothing to do
with putenv, so I have no idea what's going on.

#include <stdio.h>

extern char **environ;

int main (int argc, char **argv, char **envp)
{
  malloc_debug(3);

  free(environ);
  return 0;
}

- Raw text -


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