www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/12/21/00:00:04.1

From: "A. Sinan Unur" <asu1 AT c-o-r-n-e-l-l DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: getenv problem
Date: 21 Dec 2002 04:50:45 GMT
Organization: Cornell University
Lines: 31
Sender: asu1 AT cornell DOT invalid (on pool-141-149-208-78.syr.east.verizon.net)
Message-ID: <Xns92EAF29123476asu1cornelledu@132.236.56.8>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1021219075616 DOT 19808C-100000 AT is> <Xns92EAC413C91D6asu1cornelledu AT 132 DOT 236 DOT 56 DOT 8>
NNTP-Posting-Host: pool-141-149-208-78.syr.east.verizon.net
X-Trace: news01.cit.cornell.edu 1040446245 14579 141.149.208.78 (21 Dec 2002 04:50:45 GMT)
X-Complaints-To: usenet AT news01 DOT cit DOT cornell DOT edu
NNTP-Posting-Date: 21 Dec 2002 04:50:45 GMT
User-Agent: Xnews/5.04.25
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"A. Sinan Unur" <asu1 AT c-o-r-n-e-l-l DOT edu> wrote in
news:Xns92EAC413C91D6asu1cornelledu AT 132 DOT 236 DOT 56 DOT 8: 

> Here is something else I did, and the results: 

i am wondering if this is only happening onmy machine. could someone with 
access to nt/2k/xp please try:

#include <stdio.h>

int main(int argc, char **argv, char **envp)
{
	char **envstr = envp;

	while(*envstr)
	{
		puts(*envstr);
		++envstr;
	}

	return 0;
}

on their machine and see what it prints out for TEMP when there is both a 
system and a user TEMP defined via the environment variable settings in 
My Computer properties (and none in djgpp.env)?
-- 
A. Sinan Unur
asu1 AT c-o-r-n-e-l-l DOT edu
Remove dashes for address
Spam bait: mailto:uce AT ftc DOT gov

- Raw text -


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