• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
setenv memory leak
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

setenv memory leak


  • Subject: setenv memory leak
  • From: email@hidden
  • Date: Mon, 30 Oct 2006 14:06:17 +0100 (CET)
  • Importance: Normal

Just documenting a bit for anybody out there running into the same problem
: g++ has a bit of a memory leak in its setenv function on os X (xcode
2.2)
Fbsd used to have it too, on my FreeBSD 6.1-RELEASE ws at work it seems to
be patched.

us = mktime(&loctime);
setenv("TZ", "GMT", 1);
struct tm *theirtime = localtime(&us);
setenv("TZ", "CET", 1);

To translate UK time to BE time.

Kris






 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: setenv memory leak
      • From: Tommy Nordgren <email@hidden>
    • Re: setenv memory leak
      • From: "Peter O'Gorman" <email@hidden>
  • Prev by Date: Re: A little off topic ... (SOLVED)
  • Next by Date: Re: setenv memory leak
  • Previous by thread: Re: gdb command run or set ignores the arguments
  • Next by thread: Re: setenv memory leak
  • Index(es):
    • Date
    • Thread