Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!samsung!sol.ctr.columbia.edu!emory!mephisto!udel!mmdf From: UPSYF173%DBIUNI11.BITNET@cunyvm.cuny.edu (Wolfgang Thiel) Newsgroups: comp.os.minix Subject: stdio.h : NULL Message-ID: <32108@nigel.ee.udel.edu> Date: 2 Oct 90 10:32:09 GMT Sender: mmdf@ee.udel.edu Lines: 12 Hi, #ifdef NULL #undef NULL #endif ... #define NULL 0 This really is bad!! It took me more than 2 hours with mdb to find out why the program crashed. Of course, my machine's pointer size is not sizeof int. Doesn't #define NULL ((void *)0) do the job an any machine? Or do I miss something? Wolfgang Thiel