From: | "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx> |
Date: | Thu, 1 Jun 2006 00:01:14 +0200 |
My experience is that *BSD's malloc and pointer stuff is designed to be asStyle 1: time_t t*; time(t);
safe as possible by default, and will try to fix and correct any common
mistakes you will make. The short answer is that BSD will figure out
where you are screwing up and allow it to work. Linux gives you total
freedom to screw your self over.
Also, style 1 is technically "incorrect" since you never allocated the memory that t is pointing to before passing it into time().
cheers simon
-- Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\ Work - Mac +++ space for low €€€ NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
Attachment:
PGP.sig
Description: This is a digitally signed message part