Re: time() segmentation fault

2004-03-21 Thread Chuck McManis
At 09:24 PM 3/21/2004, Abel Navarro wrote: Hi all, this program ends with a segmentation fault in a FreeBSD 5.1.2-RELEASE: main() { time(); } Good for it! Seeing as time takes a pointer to a time_t, not passing it one would use what ever happened to be on the stack as a pointer. I don't have

Re: time() segmentation fault

2004-03-21 Thread Abel Navarro
Oops, you were rigth. I don't believe I have made such a mistake. Thank you Abel On Mon, 22 Mar 2004 16:54, Chuck McManis wrote: At 09:24 PM 3/21/2004, Abel Navarro wrote: Hi all, this program ends with a segmentation fault in a FreeBSD 5.1.2-RELEASE: main() { time(); } Good for it!