Re: [LIP] SIGSEGV within strcmp() within localtime() ...?
Binand Sethumadhavan <[email protected]>
| Newsgroups | gmane.user-groups.linux.india.programmers |
|---|---|
| Message-ID | <[email protected]> |
mk3god posted in linux-india-programmers: > current_t = time((time_t *)NULL); > current_tm = localtime(¤t_t); //crashes here :-??? Is the program multithreaded? localtime is non-reentrant. Binand -- Hanlon's Razor: Never attribute to malice that which can be adequately explained by stupidity. Bruce's Razor: Never attribute to stupidity that which can be adequately explained by Microsoft funding. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click