From: "A. Sinan Unur" 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: References: 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" 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 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